Merge pull request #1661 from FioraAeterna/fixloadstorebind

JIT: fix possible panicalert in loadstore
This commit is contained in:
Ryan Houdek 2014-12-07 00:54:59 -06:00
commit b9c6ee93b6
1 changed files with 2 additions and 1 deletions

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