Io: Fix LBN timing for virtual discs.
This commit is contained in:
parent
d7ad43b1d9
commit
4bd60ed791
1 changed files with 4 additions and 1 deletions
|
@ -554,7 +554,10 @@ int VirtualDiscFileSystem::Ioctl(u32 handle, u32 cmd, u32 indataPtr, u32 inlen,
|
|||
|
||||
PSPDevType VirtualDiscFileSystem::DevType(u32 handle) {
|
||||
EntryMap::iterator iter = entries.find(handle);
|
||||
return iter->second.type == VFILETYPE_ISO ? PSPDevType::BLOCK : PSPDevType::FILE;
|
||||
PSPDevType type = iter->second.type == VFILETYPE_ISO ? PSPDevType::BLOCK : PSPDevType::FILE;
|
||||
if (iter->second.type == VFILETYPE_LBN)
|
||||
type |= PSPDevType::EMU_LBN;
|
||||
return type;
|
||||
}
|
||||
|
||||
PSPFileInfo VirtualDiscFileSystem::GetFileInfo(std::string filename) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue