summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/m72.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/m72.c')
-rw-r--r--src/mame/video/m72.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/m72.c b/src/mame/video/m72.c
index cd7e59f9cbf..cf1f4122da5 100644
--- a/src/mame/video/m72.c
+++ b/src/mame/video/m72.c
@@ -365,7 +365,7 @@ WRITE16_MEMBER(m72_state::m72_port02_w)
coin_counter_w(machine(), 1,data & 0x02);
/* bit 2 is flip screen (handled both by software and hardware) */
- flip_screen_set(((data & 0x04) >> 2) ^ ((~input_port_read(machine(), "DSW") >> 8) & 1));
+ flip_screen_set(((data & 0x04) >> 2) ^ ((~ioport("DSW")->read() >> 8) & 1));
/* bit 3 is display disable */
m_video_off = data & 0x08;
@@ -391,7 +391,7 @@ WRITE16_MEMBER(m72_state::rtype2_port02_w)
coin_counter_w(machine(), 1,data & 0x02);
/* bit 2 is flip screen (handled both by software and hardware) */
- flip_screen_set(((data & 0x04) >> 2) ^ ((~input_port_read(machine(), "DSW") >> 8) & 1));
+ flip_screen_set(((data & 0x04) >> 2) ^ ((~ioport("DSW")->read() >> 8) & 1));
/* bit 3 is display disable */
m_video_off = data & 0x08;