Skip to content

Commit

Permalink
CPU/NewRec/x64: Fix data corruption on lwl/lwr with PGXP
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Aug 23, 2024
1 parent ccd7ba9 commit 3578572
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/cpu_newrec_compiler_x64.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3578572

Please sign in to comment.