mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-24 14:00:03 +00:00
Fix VirtualDiscFileSystem::GetDirListing
This commit is contained in:
parent
31a8a04675
commit
726297ea52
@ -625,7 +625,9 @@ std::vector<PSPFileInfo> VirtualDiscFileSystem::GetDirListing(std::string path)
|
||||
tmFromFiletime(entry.ctime, findData.ftCreationTime);
|
||||
tmFromFiletime(entry.mtime, findData.ftLastWriteTime);
|
||||
entry.isOnSectorSystem = true;
|
||||
int fileIndex = getFileListIndex(entry.name);
|
||||
|
||||
std::string fullRelativePath = path + "/" + entry.name;
|
||||
int fileIndex = getFileListIndex(fullRelativePath);
|
||||
if (fileIndex != -1)
|
||||
entry.startSector = fileList[fileIndex].firstBlock;
|
||||
myVector.push_back(entry);
|
||||
|
Loading…
Reference in New Issue
Block a user