Skip to content

Commit c36603f

Browse files
committed
PPU Precompilation: Fixup MSELF duplicate check
1 parent 1e0b510 commit c36603f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

rpcs3/Emu/Cell/PPUThread.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -3798,13 +3798,13 @@ extern void ppu_precompile(std::vector<std::string>& dir_queue, std::vector<ppu_
37983798
mself_header hdr{};
37993799

38003800
if (mself.read(hdr) && hdr.get_count(mself.size()))
3801-
{
3801+
{
3802+
std::set<u64> offs;
3803+
38023804
for (u32 j = 0; j < hdr.count; j++)
38033805
{
38043806
mself_record rec{};
38053807

3806-
std::set<u64> offs;
3807-
38083808
if (mself.read(rec) && rec.get_pos(mself.size()))
38093809
{
38103810
if (rec.size <= 0x20)

0 commit comments

Comments
 (0)