Skip to content

Commit

Permalink
Protect RPCS3 from built-in PS3 emulator
Browse files Browse the repository at this point in the history
  • Loading branch information
elad335 committed Jan 23, 2025
1 parent 62a1464 commit 29cc3e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpcs3/Emu/Cell/PPUAnalyser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ namespace ppu_patterns
template <>
bool ppu_module<lv2_obj>::analyse(u32 lib_toc, u32 entry, const u32 sec_end, const std::vector<u32>& applied, const std::vector<u32>& exported_funcs, std::function<bool()> check_aborted)
{
if (segs.empty())
if (segs.empty() || !segs[0].addr)
{
return false;
}
Expand Down

0 comments on commit 29cc3e8

Please sign in to comment.