src/cdrom/osf/SDL_syscdrom.c
changeset 874 9719e7f51a3a
parent 873 89666943c598
child 1019 e3b3130f3af8
--- a/src/cdrom/osf/SDL_syscdrom.c	Sun Mar 07 16:40:15 2004 +0000
+++ b/src/cdrom/osf/SDL_syscdrom.c	Thu Mar 11 12:59:41 2004 +0000
@@ -393,13 +393,12 @@
     int end;
 
     bzero(&msf, sizeof(msf));
-    start += 150; /* Some CD-ROM drives cannot play the first 150 frames. */
     end = start +length;
-    FRAMES_TO_MSF(start,
+    FRAMES_TO_MSF(start + 150, /* LBA = 4500*M + 75*S + F - 150 */
 		  &msf.msf_starting_M_unit,
 		  &msf.msf_starting_S_unit,
 		  &msf.msf_starting_F_unit);
-    FRAMES_TO_MSF(end,
+    FRAMES_TO_MSF(end + 150, /* LBA = 4500*M + 75*S + F - 150 */
 		  &msf.msf_ending_M_unit,
 		  &msf.msf_ending_S_unit,
 		  &msf.msf_ending_F_unit);
@@ -449,3 +448,4 @@
     }
 }
 
+