mirror of
https://github.com/holub/mame
synced 2025-10-07 01:16:22 +03:00
maketrax : fixed regression (teleport holes dip not working)
This commit is contained in:
parent
2212b7d8b4
commit
bb61fea903
@ -613,11 +613,11 @@ READ8_MEMBER(pacman_state::maketrax_special_port2_r)
|
|||||||
0x00, 0xc0, 0x00, 0x40, 0x00, 0xc0, 0x00, 0x40, 0xc0, 0x40, 0x00, 0xc0, 0x00, 0x40
|
0x00, 0xc0, 0x00, 0x40, 0x00, 0xc0, 0x00, 0x40, 0xc0, 0x40, 0x00, 0xc0, 0x00, 0x40
|
||||||
};
|
};
|
||||||
|
|
||||||
if (m_maketrax_disable_protection == 0)
|
|
||||||
return protdata[m_maketrax_offset];
|
|
||||||
|
|
||||||
uint8_t data = ioport("DSW1")->read() & 0x3f;
|
uint8_t data = ioport("DSW1")->read() & 0x3f;
|
||||||
|
|
||||||
|
if (m_maketrax_disable_protection == 0)
|
||||||
|
return protdata[m_maketrax_offset] | data;
|
||||||
|
|
||||||
switch (offset)
|
switch (offset)
|
||||||
{
|
{
|
||||||
case 0x01:
|
case 0x01:
|
||||||
|
Loading…
Reference in New Issue
Block a user