From cf65571be7f061f8fec3db4269eb5e4e482cf891 Mon Sep 17 00:00:00 2001 From: Elad Ashkenazi <18193363+elad335@users.noreply.github.com> Date: Thu, 19 Sep 2024 08:43:07 +0300 Subject: [PATCH] SPU Analyzer Hotfix --- 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 d4d3836215..01176889c2 100644 --- a/rpcs3/Emu/Cell/SPUCommonRecompiler.cpp +++ b/rpcs3/Emu/Cell/SPUCommonRecompiler.cpp @@ -6160,7 +6160,7 @@ spu_program spu_recompiler_base::analyse(const be_t* ls, u32 entry_point, s if (it == atomic16_all.end()) { // Fresh new pattern detected in a single code path - atomic16_all.emplace(pos, atomic16); + atomic16_all.emplace(pos, *atomic16); } else if (it->second.active) { @@ -6271,7 +6271,7 @@ spu_program spu_recompiler_base::analyse(const be_t* ls, u32 entry_point, s if (it == rchcnt_loop_all.end()) { - rchcnt_loop_all.emplace(pos, rchcnt_loop); + rchcnt_loop_all.emplace(pos, *rchcnt_loop); } }