From e3555185498aab2c6f006bebb8713cfcb013fe9c Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Fri, 26 Jul 2013 22:30:05 -0700 Subject: [PATCH] Fix a bad enum compare. --- Core/MIPS/ARM/ArmRegCache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/MIPS/ARM/ArmRegCache.cpp b/Core/MIPS/ARM/ArmRegCache.cpp index ce2fcaf6b..a15313725 100644 --- a/Core/MIPS/ARM/ArmRegCache.cpp +++ b/Core/MIPS/ARM/ArmRegCache.cpp @@ -193,7 +193,7 @@ void ArmRegCache::FlushR(MIPSReg r) { break; case ML_ARMREG: - if (mr[r].reg == (int)INVALID_REG) { + if (mr[r].reg == INVALID_REG) { ERROR_LOG(HLE, "FlushMipsReg: MipsReg had bad ArmReg"); } if (ar[mr[r].reg].isDirty) {