mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 16:19:28 +01:00
Merge pull request #9997 from JosJuice/jitarm64-store-w8
JitArm64: Fix W8 slowmem store
This commit is contained in:
commit
37115f04ac
@ -197,6 +197,8 @@ void JitArm64::EmitBackpatchRoutine(u32 flags, bool fastmem, bool do_farcode, AR
|
|||||||
}
|
}
|
||||||
else if (flags & BackPatchInfo::FLAG_STORE)
|
else if (flags & BackPatchInfo::FLAG_STORE)
|
||||||
{
|
{
|
||||||
|
MOV(ARM64Reg::W0, RS);
|
||||||
|
|
||||||
const bool reverse = (flags & BackPatchInfo::FLAG_REVERSE) != 0;
|
const bool reverse = (flags & BackPatchInfo::FLAG_REVERSE) != 0;
|
||||||
|
|
||||||
if (flags & BackPatchInfo::FLAG_SIZE_32)
|
if (flags & BackPatchInfo::FLAG_SIZE_32)
|
||||||
@ -206,7 +208,6 @@ void JitArm64::EmitBackpatchRoutine(u32 flags, bool fastmem, bool do_farcode, AR
|
|||||||
else
|
else
|
||||||
MOVP2R(ARM64Reg::X8, &PowerPC::Write_U8);
|
MOVP2R(ARM64Reg::X8, &PowerPC::Write_U8);
|
||||||
|
|
||||||
MOV(ARM64Reg::W0, RS);
|
|
||||||
BLR(ARM64Reg::X8);
|
BLR(ARM64Reg::X8);
|
||||||
}
|
}
|
||||||
else if (flags & BackPatchInfo::FLAG_ZERO_256)
|
else if (flags & BackPatchInfo::FLAG_ZERO_256)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user