commit abhoriels RSBS and RSCS patch

This commit is contained in:
squall-leonhart 2013-02-02 03:48:32 +00:00
parent aa28c4d967
commit 6579cd900d
1 changed files with 2 additions and 3 deletions

View File

@ -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