mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-08 07:51:28 +12:00
Improved VFS
- Implemended vfsDir. - Improved vfsDevice. - Improved vfsFile.
This commit is contained in:
parent
5d59dae730
commit
321d323beb
36 changed files with 479 additions and 390 deletions
|
@ -92,9 +92,9 @@ void Emulator::CheckStatus()
|
|||
|
||||
bool Emulator::IsSelf(const std::string& path)
|
||||
{
|
||||
vfsLocalFile f(path);
|
||||
vfsLocalFile f(nullptr);
|
||||
|
||||
if(!f.IsOpened())
|
||||
if(!f.Open(path))
|
||||
return false;
|
||||
|
||||
SceHeader hdr;
|
||||
|
@ -238,7 +238,7 @@ void Emulator::Load()
|
|||
|
||||
try
|
||||
{
|
||||
if(!(is_error = !l.Analyze() || l.GetMachine() == MACHINE_Unknown))
|
||||
if(!(is_error = !l.Analyze()) && l.GetMachine() != MACHINE_Unknown)
|
||||
{
|
||||
switch(l.GetMachine())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue