correction to OP_MVNS, fixed by AdamN, fixes vrally 3 flickering

This commit is contained in:
squall-leonhart 2011-07-28 12:18:28 +00:00
parent feb8f7db71
commit 233fae21ca
1 changed files with 1 additions and 1 deletions

View File

@ -657,7 +657,7 @@ static void count(u32 opcode, int cond_res)
#define OP_MVN \ #define OP_MVN \
EMIT1(not, eax) \ EMIT1(not, eax) \
EMIT2(mov, eax, REGREF1(esi)) EMIT2(mov, eax, REGREF1(esi))
#define OP_MVNS CHECK_PC(OP_MVN, SETCOND_LOGICAL) #define OP_MVNS CHECK_PC(OP_MVN EMIT2(test,eax,eax), SETCOND_LOGICAL)
// ALU cleanup macro // ALU cleanup macro
#define ALU_FINISH ALU_TRAILER #define ALU_FINISH ALU_TRAILER