mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 03:25:16 +00:00
Nekotekina: Fix loading nonexistent libs
Nekotekina's fix for preventing loading nonexistent libs
This commit is contained in:
parent
5d705c0e9c
commit
63169d7679
1 changed files with 6 additions and 1 deletions
|
@ -1258,7 +1258,12 @@ static bool CheckDebugSelf(fs::file& s)
|
|||
}
|
||||
|
||||
extern fs::file decrypt_self(fs::file elf_or_self)
|
||||
{
|
||||
{
|
||||
if (!elf_or_self)
|
||||
{
|
||||
return fs::file{};
|
||||
}
|
||||
|
||||
elf_or_self.seek(0);
|
||||
|
||||
// Check SELF header first. Check for a debug SELF.
|
||||
|
|
Loading…
Add table
Reference in a new issue