JIT: fix possible panicalert in loadstore

Didn't bind address register tcorrectly in a very rare case.
This commit is contained in:
Fiora 2014-12-06 16:09:13 -08:00
parent f00ad2e65c
commit 68972da1e5

View File

@ -167,7 +167,8 @@ void Jit64::lXXx(UGeckoInstruction inst)
{
if (inst.OPCD == 31)
{
gpr.Lock(b);
if (!gpr.R(b).IsImm())
gpr.BindToRegister(b, true, false);
opAddress = gpr.R(b);
}
else