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
+1
View File
@@ -669,6 +669,7 @@ std::vector<PSPFileInfo> DirectoryFileSystem::GetDirListing(std::string path) {
if (!retval)
break;
}
FindClose(hFind);
#else
dirent *dirp;
std::string localPath = GetLocalPath(path);