mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 01:38:37 +12:00
Remove unused include and very small refactoring.
Unused include in unself.h, ELF.h. New line after an if to enable debugging. Rewrite strange boolean expression in ELF.cpp.
This commit is contained in:
parent
9834fc7f70
commit
7dafb164e8
7 changed files with 60 additions and 33 deletions
|
@ -121,14 +121,17 @@ void Loader::Open(vfsFileBase& stream)
|
|||
|
||||
LoaderBase* Loader::SearchLoader()
|
||||
{
|
||||
if(!m_stream) return nullptr;
|
||||
if(!m_stream)
|
||||
return nullptr;
|
||||
|
||||
LoaderBase* l;
|
||||
|
||||
if((l=new ELFLoader(*m_stream))->LoadInfo()) return l;
|
||||
LoaderBase* l = new ELFLoader(*m_stream);
|
||||
if(l->LoadInfo())
|
||||
return l;
|
||||
delete l;
|
||||
|
||||
if((l=new SELFLoader(*m_stream))->LoadInfo()) return l;
|
||||
l = new SELFLoader(*m_stream);
|
||||
if(l->LoadInfo())
|
||||
return l;
|
||||
delete l;
|
||||
|
||||
return nullptr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue