mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-25 16:24:53 +02:00
Module loading fixes - proper module blacklisting, correct some error codes
This commit is contained in:
@@ -435,13 +435,15 @@ PSPFileInfo ISOFileSystem::GetFileInfo(std::string filename)
|
||||
PSPFileInfo x;
|
||||
if (!entry)
|
||||
{
|
||||
x.size=0;
|
||||
x.size = 0;
|
||||
x.exists = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
x.name = entry->name;
|
||||
x.access = FILEACCESS_READ;
|
||||
x.size = entry->size;
|
||||
x.exists = true;
|
||||
x.type = entry->isDirectory ? FILETYPE_DIRECTORY : FILETYPE_NORMAL;
|
||||
x.isOnSectorSystem = true;
|
||||
x.startSector = entry->startingPosition/2048;
|
||||
|
||||
Reference in New Issue
Block a user