diff options
author | ajrhacker <ajrhacker@users.noreply.github.com> | 2019-11-05 21:55:36 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-05 21:55:36 -0500 |
commit | f7955dfb3800488cac2250cb34ca8a7ba662a19a (patch) | |
tree | b20133e42c21b061e5e3786198b74a0a10ec5382 | |
parent | ed5201ed3e9bbc577388c2fb57952aa34157a8c5 (diff) | |
parent | d7e284a5ba3c43ed3967f60a866311938e601146 (diff) |
Merge pull request #5862 from TwistedTom/kemp-fix-mt7453
ZX Spectrum, kempston joystick fix, MameTesters #7453
-rw-r--r-- | src/devices/bus/spectrum/kempjoy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/bus/spectrum/kempjoy.cpp b/src/devices/bus/spectrum/kempjoy.cpp index a433d615e8c..a09583d3a3e 100644 --- a/src/devices/bus/spectrum/kempjoy.cpp +++ b/src/devices/bus/spectrum/kempjoy.cpp @@ -73,7 +73,7 @@ uint8_t spectrum_kempjoy_device::iorq_r(offs_t offset) { uint8_t data = 0xff; - if (offset == 0x1f) + if ((offset & 0x00ff) == 0x1f) { data = m_joy->read() & 0x1f; } |