mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-11-14 06:45:09 +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)
|
static void m68k_op_nbcd_8_d(void)
|
||||||
{
|
{
|
||||||
uint* r_dst = &DY;
|
uint* r_dst = &DY;
|
||||||
uint dst = *r_dst;
|
uint dst = MASK_OUT_ABOVE_8(*r_dst);
|
||||||
uint res = -dst - XFLAG_AS_1();
|
uint res = -dst - XFLAG_AS_1();
|
||||||
|
|
||||||
if(res)
|
if(res)
|
||||||
|
Loading…
Reference in New Issue
Block a user