summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/sega8_slot.c
diff options
context:
space:
mode:
author Wilbert Pol <wilbert@jdg.info>2013-07-15 18:30:25 +0000
committer Wilbert Pol <wilbert@jdg.info>2013-07-15 18:30:25 +0000
commit4254bc0d11850d95a086714254dcec23e9db0ac5 (patch)
treeb38afded62f787e30c5f7ef28ec17ced23772cf2 /src/mess/machine/sega8_slot.c
parent8f79fe8b75a773f22eeac7b40561c6e5475b798c (diff)
(MESS) sms.c: Converted TH line callbacks to use write_line. [Enik Land]
Diffstat (limited to 'src/mess/machine/sega8_slot.c')
-rw-r--r--src/mess/machine/sega8_slot.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mess/machine/sega8_slot.c b/src/mess/machine/sega8_slot.c
index 6853e0e558a..577d5d3f03d 100644
--- a/src/mess/machine/sega8_slot.c
+++ b/src/mess/machine/sega8_slot.c
@@ -250,24 +250,24 @@ void sega8_cart_slot_device::set_lphaser_xoffset( UINT8 *rom, int size )
{ 0x54, 0x4d, 0x52, 0x20, 0x53, 0x45, 0x47, 0x41, 0xff, 0xff, 0x9f, 0x74, 0x34, 0x70, 0x00, 0x40 },
};
- int xoff = 51;
+ int xoff = 44;
if (size >= 0x8000)
{
if (!memcmp(&rom[0x7ff0], signatures[0], 16) || !memcmp(&rom[0x7ff0], signatures[1], 16))
- xoff = 41;
+ xoff = 34;
if (!memcmp(&rom[0x7ff0], signatures[2], 16))
- xoff = 50;
+ xoff = 44;
if (!memcmp(&rom[0x7ff0], signatures[3], 16))
- xoff = 48;
+ xoff = 40;
if (!memcmp(&rom[0x7ff0], signatures[4], 16))
- xoff = 45;
+ xoff = 38;
if (!memcmp(&rom[0x7ff0], signatures[5], 16))
- xoff = 54;
+ xoff = 47;
}