summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mame/machine/xevious.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/machine/xevious.c b/src/mame/machine/xevious.c
index 5f27d5bf9dc..c1e7724371b 100644
--- a/src/mame/machine/xevious.c
+++ b/src/mame/machine/xevious.c
@@ -177,10 +177,10 @@ READ8_HANDLER( battles_input_port_r )
switch ( offset )
{
default:
- case 0: return ~BITSWAP8(input_port_read(space->machine, "IN0"),6,7,5,4,3,2,1,0) >> 4;
- case 1: return ~input_port_read(space->machine, "IN1") & 0x0f;
- case 2: return ~input_port_read(space->machine, "IN1") >> 4;
- case 3: return ~input_port_read(space->machine, "IN0") & 0x0f;
+ case 0: return ~BITSWAP8(input_port_read(space->machine, "IN0H"),7,6,5,4,2,3,1,0);
+ case 1: return ~input_port_read(space->machine, "IN1L");
+ case 2: return ~input_port_read(space->machine, "IN1H");
+ case 3: return ~input_port_read(space->machine, "IN0L");
}
}