Oops, close the dir after listing it in ms0:/.

This was affecting some savedata modes, and showed up on tests.  Not sure
how it might've affected games, probably not much.
This commit is contained in:
Unknown W. Brackets committed 2014-03-30 19:34:19 -07:00
1 parent 6677d96a38
commit 943bc7ee78
2 files changed
+2

No files matched your search

@@ -644,6 +644,7 @@ std::vector<PSPFileInfo> VirtualDiscFileSystem::GetDirListing(std::string path)
entry.startSector = fileList[fileIndex].firstBlock;
myVector.push_back(entry);
}
FindClose(hFind);
#else
dirent *dirp;
std::string localPath = GetLocalPath(path);