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
2014-03-30 19:34:19 -07:00
parent 6677d96a38
commit 943bc7ee78
2 changed files with 2 additions and 0 deletions

View File

@@ -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);