summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/m68000/m68k_in.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/m68000/m68k_in.cpp')
-rw-r--r--src/devices/cpu/m68000/m68k_in.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/m68000/m68k_in.cpp b/src/devices/cpu/m68000/m68k_in.cpp
index 6c56274a60a..3b557865db9 100644
--- a/src/devices/cpu/m68000/m68k_in.cpp
+++ b/src/devices/cpu/m68000/m68k_in.cpp
@@ -7610,7 +7610,7 @@ M68KMAKE_OP(mull, 32, ., .)
M68KMAKE_OP(nbcd, 8, ., d)
{
uint32_t* r_dst = &DY(mc68kcpu);
- uint32_t dst = *r_dst;
+ uint32_t dst = MASK_OUT_ABOVE_8(*r_dst);
uint32_t res = -dst - XFLAG_1(mc68kcpu);
if(res != 0)