mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-20 08:52:51 +00:00
Fix linux version too
This commit is contained in:
parent
726297ea52
commit
043c73f354
@ -670,7 +670,9 @@ std::vector<PSPFileInfo> VirtualDiscFileSystem::GetDirListing(std::string path)
|
||||
localtime_r((time_t*)&s.st_ctime,&entry.ctime);
|
||||
localtime_r((time_t*)&s.st_mtime,&entry.mtime);
|
||||
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…
x
Reference in New Issue
Block a user