mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-05 23:58:59 +00:00
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
2 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue