commit abhoriels RSBS and RSCS patch
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1151 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
parent
174cbec2a2
commit
59579cb66f
|
@ -964,9 +964,8 @@ static void count(u32 opcode, int cond_res)
|
||||||
#endif
|
#endif
|
||||||
#ifndef OP_RSB
|
#ifndef OP_RSB
|
||||||
#define OP_RSB \
|
#define OP_RSB \
|
||||||
u32 lhs = reg[(opcode>>16)&15].I; \
|
u32 lhs = value; \
|
||||||
u32 rhs = value; \
|
u32 rhs = reg[(opcode>>16)&15].I; \
|
||||||
u32 res = rhs - lhs; \
|
|
||||||
reg[dest].I = res;
|
reg[dest].I = res;
|
||||||
#endif
|
#endif
|
||||||
#ifndef OP_RSBS
|
#ifndef OP_RSBS
|
||||||
|
|
Loading…
Reference in New Issue