JIT: fix possible panicalert in loadstore
Didn't bind address register tcorrectly in a very rare case.
This commit is contained in:
parent
f00ad2e65c
commit
68972da1e5
|
@ -167,7 +167,8 @@ void Jit64::lXXx(UGeckoInstruction inst)
|
||||||
{
|
{
|
||||||
if (inst.OPCD == 31)
|
if (inst.OPCD == 31)
|
||||||
{
|
{
|
||||||
gpr.Lock(b);
|
if (!gpr.R(b).IsImm())
|
||||||
|
gpr.BindToRegister(b, true, false);
|
||||||
opAddress = gpr.R(b);
|
opAddress = gpr.R(b);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue