Jit64: Attempt to fix updating stores with an immediate value

See https://bugs.dolphin-emu.org/issues/13144
This commit is contained in:
Pokechu22 committed 2023-04-04 23:30:40 -07:00
1 parent 497e938c8c
commit c55e08ff73
2 files changed
+2 -2

No files matched your search

@@ -510,7 +510,7 @@ void Jit64::stX(UGeckoInstruction inst)
}
else
{
RCOpArg Ra = gpr.UseNoImm(a, RCMode::Write);
RCOpArg Ra = gpr.RevertableBind(a, RCMode::Write);
RegCache::Realize(Ra);
MemoryExceptionCheck();
MOV(32, Ra, Imm32(addr));
@@ -144,7 +144,7 @@ void Jit64::stfXXX(UGeckoInstruction inst)
}
else
{
RCOpArg Ra = gpr.UseNoImm(a, RCMode::Write);
RCOpArg Ra = gpr.RevertableBind(a, RCMode::Write);
RegCache::Realize(Ra);
MemoryExceptionCheck();
MOV(32, Ra, Imm32(addr));