summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/cdrom.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/util/cdrom.h')
-rw-r--r--src/lib/util/cdrom.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/util/cdrom.h b/src/lib/util/cdrom.h
index bb0595f5e30..10f4a09acb7 100644
--- a/src/lib/util/cdrom.h
+++ b/src/lib/util/cdrom.h
@@ -180,12 +180,12 @@ INLINE UINT32 lba_to_msf(UINT32 lba)
}
// segacd needs it like this.. investigate
-// Angelo also says PCE tracks often start playing at the
+// Angelo also says PCE tracks often start playing at the
// wrong address.. related?
INLINE UINT32 lba_to_msf_alt(int lba)
{
UINT32 ret = 0;
-
+
ret |= ((lba / (60 * 75))&0xff)<<16;
ret |= (((lba / 75) % 60)&0xff)<<8;
ret |= ((lba % 75)&0xff)<<0;