summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2015-05-14 18:15:03 +0200
committerLioncash <mathew1800@gmail.com>2015-05-14 20:32:16 +0200
commitf4921d0f9d8d3bd28f68fd70eacdc565562bb5cd (patch)
tree61fcc6dd1d08bcdc2a1a702b213e5af0c5f579e9
parentdyncom: Make translation-unit functions and variables static (diff)
downloadyuzu-f4921d0f9d8d3bd28f68fd70eacdc565562bb5cd.tar
yuzu-f4921d0f9d8d3bd28f68fd70eacdc565562bb5cd.tar.gz
yuzu-f4921d0f9d8d3bd28f68fd70eacdc565562bb5cd.tar.bz2
yuzu-f4921d0f9d8d3bd28f68fd70eacdc565562bb5cd.tar.lz
yuzu-f4921d0f9d8d3bd28f68fd70eacdc565562bb5cd.tar.xz
yuzu-f4921d0f9d8d3bd28f68fd70eacdc565562bb5cd.tar.zst
yuzu-f4921d0f9d8d3bd28f68fd70eacdc565562bb5cd.zip
-rw-r--r--src/core/arm/dyncom/arm_dyncom_interpreter.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/arm/dyncom/arm_dyncom_interpreter.cpp b/src/core/arm/dyncom/arm_dyncom_interpreter.cpp
index 81d8c7026..7ec2f3ef2 100644
--- a/src/core/arm/dyncom/arm_dyncom_interpreter.cpp
+++ b/src/core/arm/dyncom/arm_dyncom_interpreter.cpp
@@ -69,10 +69,10 @@ static void remove_exclusive(ARMul_State* state, ARMword addr){
}
static int CondPassed(ARMul_State* cpu, unsigned int cond) {
- #define NFLAG cpu->NFlag
- #define ZFLAG cpu->ZFlag
- #define CFLAG cpu->CFlag
- #define VFLAG cpu->VFlag
+ const u32 NFLAG = cpu->NFlag;
+ const u32 ZFLAG = cpu->ZFlag;
+ const u32 CFLAG = cpu->CFlag;
+ const u32 VFLAG = cpu->VFlag;
int temp = 0;