mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-03 21:41:26 +12:00
Protect RPCS3 from built-in PS2 emulator
This commit is contained in:
parent
9677a3a9ea
commit
ba79e092a0
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue