diff options
| author | 2009-06-17 04:56:43 +0000 | |
|---|---|---|
| committer | 2009-06-17 04:56:43 +0000 | |
| commit | 261ba1ba43a21f71e2068cdf64301daf69479376 (patch) | |
| tree | effe40cff05ba8d0088acca444ac7577c502f864 /src | |
| parent | 9792b902c8aec5121a0457a56ec955f7286acc8b (diff) | |
Fixed MT bug 03247.
Diffstat (limited to 'src')
| -rw-r--r-- | src/mame/machine/xevious.c | 8 |
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"); } } |
