summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/m52.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/m52.c')
-rw-r--r--src/mame/video/m52.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/video/m52.c b/src/mame/video/m52.c
index 28896e1582a..15854b0e77a 100644
--- a/src/mame/video/m52.c
+++ b/src/mame/video/m52.c
@@ -276,7 +276,7 @@ WRITE8_MEMBER(m52_state::m52_bgcontrol_w)
WRITE8_MEMBER(m52_state::m52_flipscreen_w)
{
/* screen flip is handled both by software and hardware */
- flip_screen_set((data & 0x01) ^ (~input_port_read(machine(), "DSW2") & 0x01));
+ flip_screen_set((data & 0x01) ^ (~ioport("DSW2")->read() & 0x01));
coin_counter_w(machine(), 0, data & 0x02);
coin_counter_w(machine(), 1, data & 0x20);