From ba79e092a0d4444c2a7d3776a0554416f6e7e2ab Mon Sep 17 00:00:00 2001 From: Elad <18193363+elad335@users.noreply.github.com> Date: Thu, 23 Jan 2025 15:45:31 +0200 Subject: [PATCH] Protect RPCS3 from built-in PS2 emulator --- rpcs3/Emu/Cell/PPUAnalyser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/Cell/PPUAnalyser.cpp b/rpcs3/Emu/Cell/PPUAnalyser.cpp index 6ddb097167..35253bc30b 100644 --- a/rpcs3/Emu/Cell/PPUAnalyser.cpp +++ b/rpcs3/Emu/Cell/PPUAnalyser.cpp @@ -534,7 +534,7 @@ namespace ppu_patterns template <> bool ppu_module::analyse(u32 lib_toc, u32 entry, const u32 sec_end, const std::vector& applied, const std::vector& exported_funcs, std::function check_aborted) { - if (segs.empty()) + if (segs.empty() || !segs[0].addr) { return false; }