mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Fix VirtualDiscFileSystem::GetDirListing
This commit is contained in:
1 parent
31a8a04675
commit
726297ea52
1 file changed
+3
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user