From 03980304cf9b9b7167f7b0414fdf1a87e08524c7 Mon Sep 17 00:00:00 2001 From: Elad Ashkenazi <18193363+elad335@users.noreply.github.com> Date: Sat, 7 Sep 2024 18:00:27 +0300 Subject: [PATCH] SPU Analyser: Fix source termination of starting block --- rpcs3/Emu/Cell/SPUCommonRecompiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/Cell/SPUCommonRecompiler.cpp b/rpcs3/Emu/Cell/SPUCommonRecompiler.cpp index 77d74b6a8b..063b5533fa 100644 --- a/rpcs3/Emu/Cell/SPUCommonRecompiler.cpp +++ b/rpcs3/Emu/Cell/SPUCommonRecompiler.cpp @@ -5188,7 +5188,7 @@ spu_program spu_recompiler_base::analyse(const be_t* ls, u32 entry_point, s auto& block = infos[bpc]; - if (g_cfg.core.spu_block_size != spu_block_size_type::safe && (m_ret_info[bpc / 4] || m_entry_info[bpc / 4] || pos == entry_point)) + if (pos == entry_point || (g_cfg.core.spu_block_size != spu_block_size_type::safe && (m_ret_info[bpc / 4] || m_entry_info[bpc / 4]))) { // Do not allow value passthrough for (reg_state_t& f : block->start_reg_state)