diff options
author | AmatCoder <AmatCoder@users.noreply.github.com> | 2019-03-22 01:39:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-22 01:39:32 +0100 |
commit | 178ee5c9d08e01690f8ae0708b79511dc3dd8db8 (patch) | |
tree | f0c1721c2cab9f47246b90c3e55cc941897d3407 | |
parent | f0c72dc1aaed2f2a12295f1adbabcdc754dd2e08 (diff) |
spectrum.cpp: Fix return bits depending on hardware version
Fix MT 06439
-rw-r--r-- | src/mame/drivers/spectrum.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/spectrum.cpp b/src/mame/drivers/spectrum.cpp index bbb41ad9c56..be92cfbd8eb 100644 --- a/src/mame/drivers/spectrum.cpp +++ b/src/mame/drivers/spectrum.cpp @@ -424,7 +424,7 @@ READ8_MEMBER(spectrum_state::spectrum_port_fe_r) /* Issue 2 Spectrums default to having bits 5, 6 & 7 set. Issue 3 Spectrums default to having bits 5 & 7 set and bit 6 reset. */ - if (m_io_config->read() & 0x80) + if ((m_io_config->read() & 0x80) == 0) data ^= (0x40); return data; |