summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/maygayv1.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/maygayv1.c')
-rw-r--r--src/mame/drivers/maygayv1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/maygayv1.c b/src/mame/drivers/maygayv1.c
index 54a579291cc..f5428f85362 100644
--- a/src/mame/drivers/maygayv1.c
+++ b/src/mame/drivers/maygayv1.c
@@ -532,7 +532,7 @@ READ16_MEMBER(maygayv1_state::maygay_8279_r)
case 0x40:
addr = i8279.command & 0x07;
- result = input_port_read(machine(), portnames[addr]);
+ result = ioport(portnames[addr])->read();
/* handle autoincrement */
if (i8279.command & 0x10)
@@ -730,7 +730,7 @@ READ8_MEMBER(maygayv1_state::mcu_r)
case 1:
{
if ( !BIT(m_p3, 4) )
- return (input_port_read(machine(), "REEL")); // Reels???
+ return (ioport("REEL")->read()); // Reels???
else
return 0;
}