Jit64: Attempt to fix updating stores with an immediate value
See https://bugs.dolphin-emu.org/issues/13144
This commit is contained in:
parent
497e938c8c
commit
c55e08ff73
|
@ -510,7 +510,7 @@ void Jit64::stX(UGeckoInstruction inst)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
RCOpArg Ra = gpr.UseNoImm(a, RCMode::Write);
|
RCOpArg Ra = gpr.RevertableBind(a, RCMode::Write);
|
||||||
RegCache::Realize(Ra);
|
RegCache::Realize(Ra);
|
||||||
MemoryExceptionCheck();
|
MemoryExceptionCheck();
|
||||||
MOV(32, Ra, Imm32(addr));
|
MOV(32, Ra, Imm32(addr));
|
||||||
|
|
|
@ -144,7 +144,7 @@ void Jit64::stfXXX(UGeckoInstruction inst)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
RCOpArg Ra = gpr.UseNoImm(a, RCMode::Write);
|
RCOpArg Ra = gpr.RevertableBind(a, RCMode::Write);
|
||||||
RegCache::Realize(Ra);
|
RegCache::Realize(Ra);
|
||||||
MemoryExceptionCheck();
|
MemoryExceptionCheck();
|
||||||
MOV(32, Ra, Imm32(addr));
|
MOV(32, Ra, Imm32(addr));
|
||||||
|
|
Loading…
Reference in New Issue