Skip to content

Commit

Permalink
Update SPULLVMRecompiler.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
elad335 committed Nov 18, 2024
1 parent fa3eb24 commit b164a58
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions rpcs3/Emu/Cell/SPULLVMRecompiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1890,6 +1890,12 @@ class spu_llvm_recompiler : public spu_recompiler_base, public cpu_translator
// Initialize registers and build PHI nodes if necessary
for (u32 i = 0; i < s_reg_max; i++)
{
if (bb.reg_const[i])
{
m_block->reg[i] = make_const_vector(v128::from32p(bb.reg_val32[i]), get_type<u32[4]>());
continue;
}

const u32 src = m_finfo->fn ? bb.reg_origin_abs[i] : bb.reg_origin[i];

if (src > 0x40000)
Expand Down

0 comments on commit b164a58

Please sign in to comment.