summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/playch10.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/playch10.c')
-rw-r--r--src/mame/machine/playch10.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/machine/playch10.c b/src/mame/machine/playch10.c
index ffc677afa64..f0d3f85d0fb 100644
--- a/src/mame/machine/playch10.c
+++ b/src/mame/machine/playch10.c
@@ -62,7 +62,7 @@ MACHINE_RESET( pc10 )
*************************************/
READ8_HANDLER( pc10_port_0_r )
{
- return input_port_read_indexed(machine, 0 ) | ( ( ~pc10_int_detect & 1 ) << 3 );
+ return input_port_read(machine, "BIOS") | ( ( ~pc10_int_detect & 1 ) << 3 );
}
WRITE8_HANDLER( pc10_SDCS_w )
@@ -184,8 +184,8 @@ WRITE8_HANDLER( pc10_in0_w )
return;
/* load up the latches */
- input_latch[0] = input_port_read_indexed(machine, 3 );
- input_latch[1] = input_port_read_indexed(machine, 4 );
+ input_latch[0] = input_port_read(machine, "P1");
+ input_latch[1] = input_port_read(machine, "P2");
/* apply any masking from the BIOS */
if ( cntrl_mask )
@@ -219,9 +219,9 @@ READ8_HANDLER( pc10_in1_r )
/* do the gun thing */
if ( pc10_gun_controller )
{
- int trigger = input_port_read_indexed(machine, 3 );
- int x = input_port_read_indexed(machine, 5 );
- int y = input_port_read_indexed(machine, 6 );
+ int trigger = input_port_read(machine, "P1");
+ int x = input_port_read(machine, "GUNX");
+ int y = input_port_read(machine, "GUNY");
UINT32 pix, color_base;
/* no sprite hit (yet) */