From e0f08cd5c1c563000b575683a4612efbb68c7aca Mon Sep 17 00:00:00 2001 From: Eladash <18193363+elad335@users.noreply.github.com> Date: Tue, 26 Mar 2024 16:50:41 +0200 Subject: [PATCH] SPU: Make STOP a safe return instruction --- rpcs3/Emu/Cell/SPULLVMRecompiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/Cell/SPULLVMRecompiler.cpp b/rpcs3/Emu/Cell/SPULLVMRecompiler.cpp index 5ee411f57b..745573981f 100644 --- a/rpcs3/Emu/Cell/SPULLVMRecompiler.cpp +++ b/rpcs3/Emu/Cell/SPULLVMRecompiler.cpp @@ -2655,13 +2655,13 @@ public: } update_pc(); + ensure_gpr_stores(); call("spu_syscall", &exec_stop, m_thread, m_ir->getInt32(op.opcode & 0x3fff)); if (g_cfg.core.spu_block_size == spu_block_size_type::safe) { m_block->block_end = m_ir->GetInsertBlock(); update_pc(m_pos + 4); - ensure_gpr_stores(); tail_chunk(m_dispatch); return; }