mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-12-27 03:31:49 +01:00
[Core/68k] fixed NBCD insruction when using register operand
This commit is contained in:
parent
e52926248a
commit
3fc3a57b26
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user