diff options
Diffstat (limited to 'src/mame/drivers/playch10.c')
-rw-r--r-- | src/mame/drivers/playch10.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/playch10.c b/src/mame/drivers/playch10.c index d8c4e1885cf..bdbe2b32074 100644 --- a/src/mame/drivers/playch10.c +++ b/src/mame/drivers/playch10.c @@ -390,8 +390,8 @@ ADDRESS_MAP_END static ADDRESS_MAP_START( bios_io_map, ADDRESS_SPACE_IO, 8 ) ADDRESS_MAP_GLOBAL_MASK(0xff) AM_RANGE(0x00, 0x00) AM_READWRITE(pc10_port_0_r, pc10_SDCS_w) - AM_RANGE(0x01, 0x01) AM_READWRITE(input_port_1_r, pc10_CNTRLMASK_w) - AM_RANGE(0x02, 0x02) AM_READWRITE(input_port_2_r, pc10_DISPMASK_w) + AM_RANGE(0x01, 0x01) AM_READ_PORT("SW1") AM_WRITE(pc10_CNTRLMASK_w) + AM_RANGE(0x02, 0x02) AM_READ_PORT("SW2") AM_WRITE(pc10_DISPMASK_w) AM_RANGE(0x03, 0x03) AM_READWRITE(pc10_detectclr_r, pc10_SOUNDMASK_w) AM_RANGE(0x04, 0x04) AM_WRITE(pc10_GAMERES_w) AM_RANGE(0x05, 0x05) AM_WRITE(pc10_GAMESTOP_w) @@ -618,7 +618,7 @@ static INPUT_PORTS_START( playch10 ) PORT_DIPSETTING( 0x00, "1 unit every 4 seconds" ) PORT_DIPSETTING( 0x80, DEF_STR( Free_Play ) ) - PORT_START_TAG("IN0") + PORT_START_TAG("P1") PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_NAME("P1 Button B") PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_NAME("P1 Button A") PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_START1 ) PORT_NAME("Game Select") PORT_CODE(KEYCODE_1) @@ -628,7 +628,7 @@ static INPUT_PORTS_START( playch10 ) PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT ) - PORT_START_TAG("IN1") + PORT_START_TAG("P2") PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_NAME("P2 Button A") PORT_PLAYER(2) PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_NAME("P2 Button B") PORT_PLAYER(2) PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_UNUSED ) // wired to 1p select button @@ -643,10 +643,10 @@ INPUT_PORTS_END static INPUT_PORTS_START( playc10g ) PORT_INCLUDE(playch10) - PORT_START // IN2 - FAKE - Gun X pos + PORT_START_TAG("GUNX") /* IN2 - FAKE - Gun X pos */ PORT_BIT( 0xff, 0x80, IPT_LIGHTGUN_X ) PORT_CROSSHAIR(X, 1.0, 0.0, 0) PORT_SENSITIVITY(70) PORT_KEYDELTA(30) - PORT_START // IN3 - FAKE - Gun Y pos + PORT_START_TAG("GUNY") /* IN3 - FAKE - Gun Y pos */ PORT_BIT( 0xff, 0x80, IPT_LIGHTGUN_Y ) PORT_CROSSHAIR(Y, 1.0, 0.0, 0) PORT_SENSITIVITY(50) PORT_KEYDELTA(30) INPUT_PORTS_END |