mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-29 22:20:48 +00:00
Protect RPCS3 from built-in PS2 emulator
This commit is contained in:
parent
9677a3a9ea
commit
ba79e092a0
@ -534,7 +534,7 @@ namespace ppu_patterns
|
|||||||
template <>
|
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)
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user