summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2020-09-15 14:21:49 +0200
committer hap <happppp@users.noreply.github.com>2020-09-15 14:22:01 +0200
commit8e517cc746cefb238ed8baeed0b7531ae794dfbf (patch)
tree8c964aede80c417f7daa70a7b93c6919e108f34e
parent8697c303754ec525aa19d0c3949fe2a627230d9b (diff)
kp63: probably fixed compile error
-rw-r--r--src/devices/cpu/z80/kp63.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/z80/kp63.cpp b/src/devices/cpu/z80/kp63.cpp
index 26968be46fe..a1a9e5913c8 100644
--- a/src/devices/cpu/z80/kp63.cpp
+++ b/src/devices/cpu/z80/kp63.cpp
@@ -381,7 +381,7 @@ void kp63_device::write(offs_t offset, u8 data)
n,
s_count_modes[BIT(data, 2, 2)],
BIT(data, 1) ? 4 : BIT(data, 0) ? 16 : 256,
- (data == 0x03) == 0x03 ? "effective" : "ignored",
+ (data & 0x03) == 0x03 ? "effective" : "ignored",
BIT(data, 4) ? 'H' : 'L');
m_status[n] = data & c_mode_mask;