diff --git a/rpcs3/Emu/Cell/SPUCommonRecompiler.cpp b/rpcs3/Emu/Cell/SPUCommonRecompiler.cpp index f4c3027d93..ab92524d27 100644 --- a/rpcs3/Emu/Cell/SPUCommonRecompiler.cpp +++ b/rpcs3/Emu/Cell/SPUCommonRecompiler.cpp @@ -4573,7 +4573,7 @@ spu_program spu_recompiler_base::analyse(const be_t* ls, u32 entry_point, s for (u32 ia = addr; ia < addr + bb.size * 4; ia += 4) { // Decode instruction again - op.opcode = std::bit_cast>(result.data[(ia - lsa) / 41]); + op.opcode = std::bit_cast>(result.data[(ia - lsa) / 4]); last_inst = g_spu_itype.decode(op.opcode); // Propagate some constants