diff options
Diffstat (limited to 'src/mame/drivers/progolf.c')
-rw-r--r-- | src/mame/drivers/progolf.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/progolf.c b/src/mame/drivers/progolf.c index e4b1847fd56..133d21dcdfe 100644 --- a/src/mame/drivers/progolf.c +++ b/src/mame/drivers/progolf.c @@ -53,7 +53,7 @@ static ADDRESS_MAP_START( main_cpu, ADDRESS_SPACE_PROGRAM, 8 ) AM_RANGE(0x9200, 0x9200) AM_WRITENOP AM_RANGE(0x9400, 0x9400) AM_WRITENOP AM_RANGE(0x9600, 0x9600) AM_WRITENOP - AM_RANGE(0x9600, 0x9600) AM_READ(input_port_0_r) /* VBLANK */ + AM_RANGE(0x9600, 0x9600) AM_READ_PORT("IN0") /* VBLANK */ AM_RANGE(0x9800, 0x9800) AM_READNOP AM_RANGE(0x9800, 0x9801) AM_WRITENOP AM_RANGE(0x9a00, 0x9a00) AM_WRITENOP @@ -85,7 +85,7 @@ ADDRESS_MAP_END #endif static INPUT_PORTS_START( progolf ) - PORT_START + PORT_START_TAG("IN0") PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) @@ -95,7 +95,7 @@ static INPUT_PORTS_START( progolf ) PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_VBLANK ) - PORT_START + PORT_START_TAG("IN1") /* */ PORT_START_TAG("IN2") @@ -182,7 +182,7 @@ GFXDECODE_END #ifdef UNUSED_FUNCTION static INTERRUPT_GEN( progolf_interrupt ) { - //if (input_port_read_indexed(machine, 2) & 0xc0) + //if (input_port_read(machine, "IN2") & 0xc0) cpunum_set_input_line(machine, 0, /*0*/INPUT_LINE_NMI, /*HOLD_LINE*/PULSE_LINE); } #endif |