//
// CD Interface handler
//
-// by cal2
+// by David Raingeard
// GCC/SDL port by Niels Wagenaar (Linux/WIN32) and Caz (BeOS)
// Cleanups by James L. Hammons
//
}
-/*long tell(int fd)
-{
- return lseek(fd, 0LL, SEEK_CUR);
-}*/
-
-
s_cdi_descriptor * cdi_get_descriptor(int fp, FILE * stdfp)
{
s_cdi_descriptor * descriptor;
return 0;
lseek(fp, 0, SEEK_END);
-//Why??? descriptor->length=tell(fp);
descriptor->length = lseek(fp, 0LL, SEEK_CUR);
if (descriptor->length < 8)