summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/cdrom.h
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2011-02-28 09:27:05 +0000
committer Aaron Giles <aaron@aarongiles.com>2011-02-28 09:27:05 +0000
commit9ef0bcf8f2cb40d88ee35567d1850f41812b5bb4 (patch)
treeb8d40ccf79f4f7845c1fd99233e8270be0b031a8 /src/lib/util/cdrom.h
parent173642d46ca44e7c930f9fe88e0e828ec27ffa21 (diff)
Cleanups and version bump.mame0141u3
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;