Merge pull request #5862 from TwistedTom/kemp-fix-mt7453

ZX Spectrum, kempston joystick fix, MameTesters #7453
This commit is contained in:
ajrhacker 2019-11-05 21:55:36 -05:00 committed by GitHub
commit f7955dfb38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}