Merge pull request #1661 from FioraAeterna/fixloadstorebind
JIT: fix possible panicalert in loadstore
This commit is contained in:
commit
b9c6ee93b6
|
@ -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