mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-04 03:46:42 +01:00
Merge pull request #1873 from FioraAeterna/fixnonfastmem
JIT: fix regression in non-fastmem for psq_st
This commit is contained in:
commit
263a96fd9a
@ -38,7 +38,9 @@ void Jit64::psq_stXX(UGeckoInstruction inst)
|
|||||||
int storeOffset = 0;
|
int storeOffset = 0;
|
||||||
gpr.BindToRegister(a, true, update);
|
gpr.BindToRegister(a, true, update);
|
||||||
X64Reg addr = gpr.RX(a);
|
X64Reg addr = gpr.RX(a);
|
||||||
if (update && js.memcheck)
|
// TODO: this is kind of ugly :/ we should probably create a universal load/store address calculation
|
||||||
|
// function that handles all these weird cases, e.g. how non-fastmem loadstores clobber addresses.
|
||||||
|
if ((update && js.memcheck) || !SConfig::GetInstance().m_LocalCoreStartupParameter.bFastmem)
|
||||||
{
|
{
|
||||||
addr = RSCRATCH2;
|
addr = RSCRATCH2;
|
||||||
MOV(32, R(addr), gpr.R(a));
|
MOV(32, R(addr), gpr.R(a));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user