From 6f9c1e4be24ff5c9fbc623773633fca64949d85b Mon Sep 17 00:00:00 2001 From: AJR Date: Sun, 1 Dec 2019 17:29:39 -0500 Subject: dp8344: Fix bizarre coding mistake (nw) --- src/devices/cpu/bcp/dp8344.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/devices/cpu/bcp/dp8344.cpp b/src/devices/cpu/bcp/dp8344.cpp index 5fa49d871c6..dcdfa9901ad 100644 --- a/src/devices/cpu/bcp/dp8344.cpp +++ b/src/devices/cpu/bcp/dp8344.cpp @@ -1616,13 +1616,13 @@ void dp8344_device::store_result() case 0x5000: m_source_data |= (m_latched_instr & 0x0ff0) >> 4; set_nz(m_source_data); - write_register(m_latched_instr & 0x000f, m_source_data + ((m_latched_instr & 0x0ff0) >> 4)); + write_register(m_latched_instr & 0x000f, m_source_data); break; case 0x6000: m_source_data ^= (m_latched_instr & 0x0ff0) >> 4; set_nz(m_source_data); - write_register(m_latched_instr & 0x000f, m_source_data + ((m_latched_instr & 0x0ff0) >> 4)); + write_register(m_latched_instr & 0x000f, m_source_data); break; case 0x7000: -- cgit v1.2.3