From 70b3db93e086e2b0edad9be2202006fffed949ca Mon Sep 17 00:00:00 2001 From: mitaclaw <140017135+mitaclaw@users.noreply.github.com> Date: Wed, 19 Jul 2023 14:15:42 -0700 Subject: [PATCH] Announce RSCRATCH clobbering in Jit64 when profiling is enabled --- Source/Core/Core/PowerPC/Jit64/Jit.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Core/Core/PowerPC/Jit64/Jit.cpp b/Source/Core/Core/PowerPC/Jit64/Jit.cpp index 6090ce9112..313b840132 100644 --- a/Source/Core/Core/PowerPC/Jit64/Jit.cpp +++ b/Source/Core/Core/PowerPC/Jit64/Jit.cpp @@ -469,6 +469,7 @@ bool Jit64::Cleanup() Imm32(js.downcountAmount)); MOV(64, MDisp(RSCRATCH2, offsetof(JitBlock::ProfileData, ticCounter)), R(RSCRATCH)); ABI_PopRegistersAndAdjustStack({}, 0); + did_something = true; } return did_something;