From bb61fea903d70bde178ea9a628bcef4e3839e2ef Mon Sep 17 00:00:00 2001 From: Robbbert Date: Thu, 11 Jan 2018 01:31:20 +1100 Subject: [PATCH] maketrax : fixed regression (teleport holes dip not working) --- src/mame/drivers/pacman.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mame/drivers/pacman.cpp b/src/mame/drivers/pacman.cpp index 66ae939c5c7..a12b651567c 100644 --- a/src/mame/drivers/pacman.cpp +++ b/src/mame/drivers/pacman.cpp @@ -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 }; - if (m_maketrax_disable_protection == 0) - return protdata[m_maketrax_offset]; - uint8_t data = ioport("DSW1")->read() & 0x3f; + if (m_maketrax_disable_protection == 0) + return protdata[m_maketrax_offset] | data; + switch (offset) { case 0x01: