X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fcdi.cpp;h=34a65d88de17b86b2603531dad68a278e772fbaf;hb=5c7ebfffd313f310523814a75da912b878b216e8;hp=e283562e42838ecac70af3a7eaa0a6932e9e9c23;hpb=5c366a13aeb0ebb8c18a28616732e058466191af;p=virtualjaguar diff --git a/src/cdi.cpp b/src/cdi.cpp index e283562..34a65d8 100644 --- a/src/cdi.cpp +++ b/src/cdi.cpp @@ -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)