mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
Merge pull request #1661 from FioraAeterna/fixloadstorebind
JIT: fix possible panicalert in loadstore
This commit is contained in:
commit
b9c6ee93b6
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue