summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/arkanoid.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/arkanoid.c')
-rw-r--r--src/mame/machine/arkanoid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/machine/arkanoid.c b/src/mame/machine/arkanoid.c
index a7f4fce58a1..f82732e3334 100644
--- a/src/mame/machine/arkanoid.c
+++ b/src/mame/machine/arkanoid.c
@@ -116,7 +116,7 @@ CUSTOM_INPUT_MEMBER(arkanoid_state::arkanoid_input_mux)
{
const char *tag1 = (const char *)param;
const char *tag2 = tag1 + strlen(tag1) + 1;
- return input_port_read(machine(), (m_paddle_select == 0) ? tag1 : tag2);
+ return ioport((m_paddle_select == 0) ? tag1 : tag2)->read();
}
/*
@@ -575,7 +575,7 @@ READ8_MEMBER(arkanoid_state::arkanoid_bootleg_d008_r)
{
UINT8 arkanoid_bootleg_d008_bit[8];
UINT8 arkanoid_bootleg_d008_val;
- UINT8 arkanoid_paddle_value = input_port_read(machine(), "MUX");
+ UINT8 arkanoid_paddle_value = ioport("MUX")->read();
int b;
arkanoid_bootleg_d008_bit[4] = arkanoid_bootleg_d008_bit[6] = arkanoid_bootleg_d008_bit[7] = 0; /* untested bits */