mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-25 00:04:49 +02:00
Module loading fixes - proper module blacklisting, correct some error codes
This commit is contained in:
@@ -237,7 +237,13 @@ size_t DirectoryFileSystem::SeekFile(u32 handle, s32 position, FileMove type)
|
||||
PSPFileInfo DirectoryFileSystem::GetFileInfo(std::string filename)
|
||||
{
|
||||
PSPFileInfo x;
|
||||
x.size=0;
|
||||
x.name = filename;
|
||||
if (!File::Exists(filename)) {
|
||||
return x;
|
||||
}
|
||||
|
||||
x.exists = true;
|
||||
x.type = File::IsDirectory(filename) ? FILETYPE_NORMAL : FILETYPE_DIRECTORY;
|
||||
|
||||
std::string fullName = GetLocalPath(filename);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user