Io: Open sce_lbn references and whole ISO faster.

This commit is contained in:
Unknown W. Brackets
2020-05-21 17:57:41 -07:00
parent 91427c1f4e
commit 49abe9ed6c
16 changed files with 76 additions and 62 deletions

View File

@@ -538,13 +538,13 @@ int MetaFileSystem::Ioctl(u32 handle, u32 cmd, u32 indataPtr, u32 inlen, u32 out
return SCE_KERNEL_ERROR_ERROR;
}
int MetaFileSystem::DevType(u32 handle)
PSPDevType MetaFileSystem::DevType(u32 handle)
{
std::lock_guard<std::recursive_mutex> guard(lock);
IFileSystem *sys = GetHandleOwner(handle);
if (sys)
return sys->DevType(handle);
return SCE_KERNEL_ERROR_ERROR;
return PSPDevType::INVALID;
}
void MetaFileSystem::CloseFile(u32 handle)