From 233fae21cac7f677dbfd4a33eaf409e71cff25c2 Mon Sep 17 00:00:00 2001 From: squall-leonhart Date: Thu, 28 Jul 2011 12:18:28 +0000 Subject: [PATCH] correction to OP_MVNS, fixed by AdamN, fixes vrally 3 flickering --- src/gba/GBA-arm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gba/GBA-arm.cpp b/src/gba/GBA-arm.cpp index 489056c6..c5c14c65 100644 --- a/src/gba/GBA-arm.cpp +++ b/src/gba/GBA-arm.cpp @@ -657,7 +657,7 @@ static void count(u32 opcode, int cond_res) #define OP_MVN \ EMIT1(not, eax) \ 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 #define ALU_FINISH ALU_TRAILER