]> Shamusworld >> Repos - virtualjaguar/blobdiff - src/cdi.cpp
Minor cleanup (this file will go away soon)
[virtualjaguar] / src / cdi.cpp
index e283562e42838ecac70af3a7eaa0a6932e9e9c23..34a65d88de17b86b2603531dad68a278e772fbaf 100644 (file)
@@ -1,7 +1,7 @@
 //
 // CD Interface handler
 //
-// by cal2
+// by David Raingeard
 // GCC/SDL port by Niels Wagenaar (Linux/WIN32) and Caz (BeOS)
 // Cleanups by James L. Hammons
 //
@@ -46,12 +46,6 @@ void cdi_close(int fp)
 }
 
 
-/*long tell(int fd)
-{
-       return lseek(fd, 0LL, SEEK_CUR);
-}*/
-
-
 s_cdi_descriptor * cdi_get_descriptor(int fp, FILE * stdfp)
 {
        s_cdi_descriptor * descriptor;
@@ -66,7 +60,6 @@ s_cdi_descriptor * cdi_get_descriptor(int fp, FILE * stdfp)
                return 0;
 
        lseek(fp, 0, SEEK_END);
-//Why???       descriptor->length=tell(fp);
        descriptor->length = lseek(fp, 0LL, SEEK_CUR);
 
        if (descriptor->length < 8)