Jit64: Attempt to fix updating stores with an immediate value

See https://bugs.dolphin-emu.org/issues/13144
This commit is contained in:
Pokechu22 2023-01-09 18:47:02 -08:00
parent 497e938c8c
commit c55e08ff73
2 changed files with 2 additions and 2 deletions

View File

@ -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));

View File

@ -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));