implement ALL of abhoriels patch correctly.
This commit is contained in:
parent
26acc55d93
commit
306291cd55
|
@ -991,9 +991,9 @@ static void count(u32 opcode, int cond_res)
|
||||||
#endif
|
#endif
|
||||||
#ifndef OP_RSC
|
#ifndef OP_RSC
|
||||||
#define OP_RSC \
|
#define OP_RSC \
|
||||||
u32 lhs = reg[(opcode>>16)&15].I; \
|
u32 lhs = value; \
|
||||||
u32 rhs = value; \
|
u32 rhs = reg[(opcode>>16)&15].I; \
|
||||||
u32 res = rhs - lhs - !((u32)C_FLAG); \
|
u32 res = lhs - rhs - !((u32)C_FLAG); \
|
||||||
reg[dest].I = res;
|
reg[dest].I = res;
|
||||||
#endif
|
#endif
|
||||||
#ifndef OP_RSCS
|
#ifndef OP_RSCS
|
||||||
|
@ -2947,4 +2947,4 @@ int armExecute()
|
||||||
} while (cpuTotalTicks<cpuNextEvent && armState && !holdState && !SWITicks);
|
} while (cpuTotalTicks<cpuNextEvent && armState && !holdState && !SWITicks);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
Loading…
Reference in New Issue