summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/qix.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/qix.c')
-rw-r--r--src/mame/machine/qix.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/machine/qix.c b/src/mame/machine/qix.c
index 5ae7a174234..3ac09dba41d 100644
--- a/src/mame/machine/qix.c
+++ b/src/mame/machine/qix.c
@@ -465,7 +465,7 @@ READ8_HANDLER( qix_68705_portB_r )
UINT8 ddr = state->_68705_ddr[1];
UINT8 out = state->_68705_port_out[1];
- UINT8 in = (input_port_read_indexed(machine, 1) & 0x0f) | ((input_port_read_indexed(machine, 1) & 0x80) >> 3);
+ UINT8 in = (input_port_read(machine, "COIN") & 0x0f) | ((input_port_read(machine, "COIN") & 0x80) >> 3);
return (out & ddr) | (in & ~ddr);
}
@@ -476,7 +476,7 @@ READ8_HANDLER( qix_68705_portC_r )
UINT8 ddr = state->_68705_ddr[2];
UINT8 out = state->_68705_port_out[2];
- UINT8 in = (state->coinctrl & 0x08) | ((input_port_read_indexed(machine, 1) & 0x70) >> 4);
+ UINT8 in = (state->coinctrl & 0x08) | ((input_port_read(machine, "COIN") & 0x70) >> 4);
return (out & ddr) | (in & ~ddr);
}
@@ -597,7 +597,7 @@ static READ8_HANDLER( slither_trak_lr_r )
{
qix_state *state = machine->driver_data;
- return input_port_read_indexed(machine, state->flip ? 6 : 4);
+ return input_port_read(machine, state->flip ? "AN3" : "AN1");
}
@@ -605,5 +605,5 @@ static READ8_HANDLER( slither_trak_ud_r )
{
qix_state *state = machine->driver_data;
- return input_port_read_indexed(machine, state->flip ? 5 : 3);
+ return input_port_read(machine, state->flip ? "AN2" : "AN0");
}