summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/thepit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/thepit.c')
-rw-r--r--src/mame/video/thepit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/thepit.c b/src/mame/video/thepit.c
index e0d708842a3..b26f271010b 100644
--- a/src/mame/video/thepit.c
+++ b/src/mame/video/thepit.c
@@ -210,11 +210,11 @@ READ8_MEMBER(thepit_state::thepit_input_port_0_r)
horizontal flip switch. (This is how the real PCB does it) */
if (m_flip_screen_x)
{
- return input_port_read(machine(), "IN2");
+ return ioport("IN2")->read();
}
else
{
- return input_port_read(machine(), "IN0");
+ return ioport("IN0")->read();
}
}