summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/m58.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/m58.c')
-rw-r--r--src/mame/video/m58.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/video/m58.c b/src/mame/video/m58.c
index 4f4d6f56c12..396b4932fd2 100644
--- a/src/mame/video/m58.c
+++ b/src/mame/video/m58.c
@@ -201,7 +201,7 @@ VIDEO_START( yard )
WRITE8_MEMBER(m58_state::yard_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);