diff options
Diffstat (limited to 'src/mame/drivers/relief.c')
-rw-r--r-- | src/mame/drivers/relief.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/relief.c b/src/mame/drivers/relief.c index 74724654b96..9ebd1b84ceb 100644 --- a/src/mame/drivers/relief.c +++ b/src/mame/drivers/relief.c @@ -95,7 +95,7 @@ static MACHINE_RESET( relief ) READ16_MEMBER(relief_state::special_port2_r) { - int result = input_port_read(machine(), "260010"); + int result = ioport("260010")->read(); if (m_cpu_to_sound_ready) result ^= 0x0020; if (!(result & 0x0080) || atarigen_get_hblank(*machine().primary_screen)) result ^= 0x0001; return result; @@ -235,7 +235,7 @@ static INPUT_PORTS_START( relief ) PORT_BIT( 0x001f, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_UNUSED ) /* tested before writing to 260040 */ PORT_SERVICE( 0x0040, IP_ACTIVE_LOW ) - PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_VBLANK ) + PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_CUSTOM ) PORT_VBLANK("screen") PORT_BIT( 0xff00, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_START("260012") /* 260012 */ |