mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-04-21 06:47:25 -05:00
Core: Use the enum constant for an invalid reg in JitRegCache
This commit is contained in:
parent
96cfbd1bb0
commit
0bb84a1f65
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user