From 0f3dfec7f21964c34efa4dfc48a6a25b349a305a Mon Sep 17 00:00:00 2001 From: trigger Date: Mon, 31 Jul 2023 15:10:16 -0700 Subject: [PATCH] direct return in ppu_check --- 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 8619dcd81e..a4fccecd75 100644 --- a/rpcs3/Emu/Cell/PPUThread.cpp +++ b/rpcs3/Emu/Cell/PPUThread.cpp @@ -2457,10 +2457,10 @@ static void ppu_check(ppu_thread& ppu, u64 addr) { ppu.cia = ::narrow(addr); - // ppu_check() shall not return directly if (ppu.test_stopped()) - {} - ppu_escape(&ppu); + { + return; + } } static void ppu_trace(u64 addr)