CPU/NewRec/x64: Fix data corruption on lwl/lwr with PGXP

This commit is contained in:
Stenzek 2024-08-23 14:33:37 +10:00
parent e91eb82d70
commit eaf574bfa6
No known key found for this signature in database

View file

@ -1615,6 +1615,8 @@ void CPU::NewRec::X64Compiler::Compile_lwx(CompileFlags cf, MemoryAccessSize siz
if (g_settings.gpu_pgxp_enable)
{
Flush(FLUSH_FOR_C_CALL);
DebugAssert(value != RWARG3);
cg->mov(RWARG3, value);
cg->mov(RWARG2, addr);