From f77ffe6f9309165bfc127ec11eb61c6f46f4dbb4 Mon Sep 17 00:00:00 2001 From: elad335 <18193363+elad335@users.noreply.github.com> Date: Sat, 17 May 2025 19:50:13 +0300 Subject: [PATCH] PPU debugger: Update CIA unconditionally if "PPU Debug" enabled --- rpcs3/Emu/Cell/PPUInterpreter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/Cell/PPUInterpreter.cpp b/rpcs3/Emu/Cell/PPUInterpreter.cpp index 35c2ded508..69d11864d1 100644 --- a/rpcs3/Emu/Cell/PPUInterpreter.cpp +++ b/rpcs3/Emu/Cell/PPUInterpreter.cpp @@ -139,7 +139,7 @@ struct ppu_exec_select #define RETURN_(...) \ if constexpr (Build == 0) { \ static_cast(exec); \ - if (is_debugger_present()) return +[](ppu_thread& ppu, ppu_opcode_t op, be_t* this_op, ppu_intrp_func* next_fn) { \ + if (is_debugger_present() || g_cfg.core.ppu_debug) return +[](ppu_thread& ppu, ppu_opcode_t op, be_t* this_op, ppu_intrp_func* next_fn) { \ exec(__VA_ARGS__); \ const auto next_op = this_op + 1; \ const auto fn = atomic_storage::load(next_fn->fn); \