diff --git a/rpcs3/Emu/Cell/SPURecompiler.cpp b/rpcs3/Emu/Cell/SPURecompiler.cpp index 9947050db7..ad93bc1234 100644 --- a/rpcs3/Emu/Cell/SPURecompiler.cpp +++ b/rpcs3/Emu/Cell/SPURecompiler.cpp @@ -1936,7 +1936,7 @@ const std::vector& spu_recompiler_base::analyse(const be_t* ls, u32 en block.preds = pred.second; // Fill register usage info - for (u32 ia = pred.first; ia < 0x40000; ia += 4) + for (u32 ia = pred.first; ia < limit; ia += 4) { block.size++;