mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-26 15:49:50 -06:00
Fixes minor bug in the ARMv7 register cache.
Makes sure our register we are binding doesn't get unloaded immediately.
This commit is contained in:
@ -250,6 +250,7 @@ ARMReg ArmRegCache::BindToRegister(u32 preg, bool doLoad, bool kill_imm)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
u8 a = regs[preg].GetRegIndex();
|
u8 a = regs[preg].GetRegIndex();
|
||||||
|
ArmCRegs[a].LastLoad = 0;
|
||||||
return ArmCRegs[a].Reg;
|
return ArmCRegs[a].Reg;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user