From b61a69c877d9202d8d930cbaf8282b9a2a21dcb8 Mon Sep 17 00:00:00 2001 From: elad Date: Wed, 21 Feb 2018 12:30:41 +0200 Subject: [PATCH] fix spu interpreter single stepping --- rpcs3/Emu/Cell/SPUThread.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rpcs3/Emu/Cell/SPUThread.cpp b/rpcs3/Emu/Cell/SPUThread.cpp index 932c91e635..a23077dfb7 100644 --- a/rpcs3/Emu/Cell/SPUThread.cpp +++ b/rpcs3/Emu/Cell/SPUThread.cpp @@ -393,7 +393,7 @@ void SPUThread::cpu_task() while (true) { - if (!test(state)) + if (!test(state) || !check_state()) { // Read opcode const u32 op = base[pc / 4]; @@ -403,10 +403,10 @@ void SPUThread::cpu_task() // Next instruction pc += 4; + continue; } - - if (check_state()) return; + return; } }