mirror of
https://github.com/holub/mame
synced 2025-04-22 00:11:58 +03:00
spectrum_mikroplus: Mask IO port for reading joystick (nw)
This commit is contained in:
parent
d4df190a68
commit
9f31b2fb9a
@ -93,7 +93,7 @@ uint8_t spectrum_mikroplus_device::iorq_r(offs_t offset)
|
||||
{
|
||||
uint8_t data = 0xff;
|
||||
|
||||
if (offset == 0xdf)
|
||||
if ((offset & 0xff) == 0xdf)
|
||||
{
|
||||
data = m_joy->read() | (0xff ^ 0x1f);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user