diff --git a/core/m68k/m68kops.h b/core/m68k/m68kops.h index 56694bf..0c33e9d 100644 --- a/core/m68k/m68kops.h +++ b/core/m68k/m68kops.h @@ -15855,7 +15855,7 @@ static void m68k_op_mulu_16_i(void) static void m68k_op_nbcd_8_d(void) { uint* r_dst = &DY; - uint dst = *r_dst; + uint dst = MASK_OUT_ABOVE_8(*r_dst); uint res = -dst - XFLAG_AS_1(); if(res)