summaryrefslogtreecommitdiff
path: root/libpcsxcore
diff options
context:
space:
mode:
Diffstat (limited to 'libpcsxcore')
-rw-r--r--libpcsxcore/ix86/iR3000A.c4
-rw-r--r--libpcsxcore/ix86_64/iR3000A-64.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/libpcsxcore/ix86/iR3000A.c b/libpcsxcore/ix86/iR3000A.c
index f1d74648..029b8bab 100644
--- a/libpcsxcore/ix86/iR3000A.c
+++ b/libpcsxcore/ix86/iR3000A.c
@@ -67,8 +67,8 @@ static iRegisters iRegsS[32];
#define ST_CONST 1
#define ST_MAPPED 2
-#define IsConst(reg) iRegs[reg].state == ST_CONST
-#define IsMapped(reg) iRegs[reg].state == ST_MAPPED
+#define IsConst(reg) (iRegs[reg].state == ST_CONST)
+#define IsMapped(reg) (iRegs[reg].state == ST_MAPPED)
static void (*recBSC[64])();
static void (*recSPC[64])();
diff --git a/libpcsxcore/ix86_64/iR3000A-64.c b/libpcsxcore/ix86_64/iR3000A-64.c
index 10dfd1ab..b1b5f9e1 100644
--- a/libpcsxcore/ix86_64/iR3000A-64.c
+++ b/libpcsxcore/ix86_64/iR3000A-64.c
@@ -70,8 +70,8 @@ static iRegisters iRegsS[32];
#define ST_CONST 1
#define ST_MAPPED 2
-#define IsConst(reg) iRegs[reg].state == ST_CONST
-#define IsMapped(reg) iRegs[reg].state == ST_MAPPED
+#define IsConst(reg) (iRegs[reg].state == ST_CONST)
+#define IsMapped(reg) (iRegs[reg].state == ST_MAPPED)
static void (*recBSC[64])();
static void (*recSPC[64])();