mirror of
https://github.com/holub/mame
synced 2025-06-30 16:00:01 +03:00
model2: fix lightgun games (nw)
This commit is contained in:
parent
2cc5dc8c8b
commit
c69c679b32
@ -1193,7 +1193,7 @@ void model2_state::model2_5881_mem(address_map &map)
|
||||
|
||||
READ8_MEMBER( model2_state::lightgun_data_r )
|
||||
{
|
||||
uint16_t data = m_lightgun_ports[offset].read_safe(0);
|
||||
uint16_t data = m_lightgun_ports[offset >> 1].read_safe(0);
|
||||
return BIT(offset, 0) ? (data >> 8) : data;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user