From cc2fa94fa1836327d5784e6a5ea577738eee0376 Mon Sep 17 00:00:00 2001 From: Eladash <18193363+elad335@users.noreply.github.com> Date: Thu, 28 Mar 2024 13:35:11 +0200 Subject: [PATCH] PPU: Fix logging of sys_interrupt syscalls --- rpcs3/Emu/Cell/PPUThread.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rpcs3/Emu/Cell/PPUThread.cpp b/rpcs3/Emu/Cell/PPUThread.cpp index e63a85adac..7c0018461f 100644 --- a/rpcs3/Emu/Cell/PPUThread.cpp +++ b/rpcs3/Emu/Cell/PPUThread.cpp @@ -2225,7 +2225,7 @@ void ppu_thread::cpu_sleep() void ppu_thread::cpu_on_stop() { - if (current_function) + if (current_function && is_stopped()) { if (start_time) { @@ -2235,10 +2235,10 @@ void ppu_thread::cpu_on_stop() { ppu_log.warning("'%s' aborted", current_function); } - - current_function = {}; } + current_function = {}; + // TODO: More conditions if (Emu.IsStopped() && g_cfg.core.ppu_debug) {