mirror of
https://github.com/holub/mame
synced 2025-04-21 07:52:35 +03:00
ioport: fix possible issue where 4way joystick value could be invalid
This commit is contained in:
parent
ffc77c8903
commit
8ca4fcbbf9
@ -619,6 +619,8 @@ void digital_joystick::frame_update()
|
||||
m_current4way &= ~(UP_BIT | DOWN_BIT);
|
||||
}
|
||||
}
|
||||
else
|
||||
m_current4way &= m_current;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user