1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2025-01-31 20:41:45 +01:00

Protect RPCS3 from built-in PS2 emulator

This commit is contained in:
Elad 2025-01-23 15:45:31 +02:00
parent 9677a3a9ea
commit ba79e092a0

View File

@ -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;
}