From 35e187eb272e9efdd82a0498a75f905dc55883ce Mon Sep 17 00:00:00 2001 From: fincs Date: Mon, 2 Mar 2015 17:52:50 +0100 Subject: [PATCH] Fix condition field --- source/picasso_assembler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/picasso_assembler.cpp b/source/picasso_assembler.cpp index c195499..c3bd621 100644 --- a/source/picasso_assembler.cpp +++ b/source/picasso_assembler.cpp @@ -596,13 +596,13 @@ static int parseCondExpOp(char* str, u32& outFlags, int& which) for (; *str == '!'; str++) negation ^= 1; if (stricmp(str, "cmp.x")==0) { - which = 1; + which = 0; outFlags ^= negation<<25; return 0; } if (stricmp(str, "cmp.y")==0) { - which = 0; + which = 1; outFlags ^= negation<<24; return 0; }