diff --git a/Source/Core/Core/PowerPC/Jit64/JitRegCache.h b/Source/Core/Core/PowerPC/Jit64/JitRegCache.h index 563302cae9..5aa9c0c33e 100644 --- a/Source/Core/Core/PowerPC/Jit64/JitRegCache.h +++ b/Source/Core/Core/PowerPC/Jit64/JitRegCache.h @@ -86,8 +86,9 @@ public: { if (IsBound(preg)) return regs[preg].location.GetSimpleReg(); + PanicAlert("Not so simple - %i", preg); - return (X64Reg)-1; + return INVALID_REG; } virtual OpArg GetDefaultLocation(size_t reg) const = 0;