summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices
diff options
context:
space:
mode:
authorGravatarGravatar AJR <ajrhacker@users.noreply.github.com>2019-12-01 17:29:39 -0500
committerGravatarGravatar AJR <ajrhacker@users.noreply.github.com>2019-12-01 17:29:39 -0500
commit6f9c1e4be24ff5c9fbc623773633fca64949d85b (patch)
treec4cee511e9ec58f78b5e381d92fe52f9e6c48f3f /src/devices
parentf06282380a6c531913f4dc4318a9ab5bb61602c9 (diff)
dp8344: Fix bizarre coding mistake (nw)
Diffstat (limited to 'src/devices')
-rw-r--r--src/devices/cpu/bcp/dp8344.cpp4
1 files 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: