mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Jit64: Attempt to fix updating stores with an immediate value
See https://bugs.dolphin-emu.org/issues/13144
This commit is contained in:
@ -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));
|
||||||
|
Reference in New Issue
Block a user