mirror of
https://github.com/holub/mame
synced 2025-06-04 03:46:29 +03:00
Fixed MT bug 03247.
This commit is contained in:
parent
9792b902c8
commit
261ba1ba43
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user