From 669ce1faca788aff393439129dfb6023f1b49afa Mon Sep 17 00:00:00 2001 From: Elad Ashkenazi <18193363+elad335@users.noreply.github.com> Date: Mon, 8 Jul 2024 08:43:10 +0300 Subject: [PATCH] Fixup compilation And reduce limit for PUTLLC16 block scan --- rpcs3/Emu/Cell/SPUCommonRecompiler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpcs3/Emu/Cell/SPUCommonRecompiler.cpp b/rpcs3/Emu/Cell/SPUCommonRecompiler.cpp index 741d2edf8b..46c50be7cd 100644 --- a/rpcs3/Emu/Cell/SPUCommonRecompiler.cpp +++ b/rpcs3/Emu/Cell/SPUCommonRecompiler.cpp @@ -5275,7 +5275,7 @@ spu_program spu_recompiler_base::analyse(const be_t* ls, u32 entry_point, s auto& entry = ::at32(reg_state_it, i); const u32 entry_pc = entry.pc; - if (count == (state_it->atomic16.active ? 40 : 12)) + if (count == (state_it->atomic16.active ? 25 : 12)) { if (state_it->atomic16.active && !std::exchange(logged_block[target_pc / 4], true)) { @@ -6929,7 +6929,7 @@ spu_program spu_recompiler_base::analyse(const be_t* ls, u32 entry_point, s const auto ra = get_reg(op.ra); const auto [af, av, at, ao, az, apc, ainst] = ra; - inherit_const_value(op.rt, ra, ra, av == op.si10, pos); + inherit_const_value(op.rt, ra, ra, av == op.si10 + 0u, pos); if (rchcnt_loop.active) {