mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-24 11:49:05 +02:00
getFilesInDir: Actually count the number of files.
This commit is contained in:
1 parent
da2b26299d
commit
0909dcbbf5
1 file changed
+1
@@ -318,6 +318,7 @@ size_t getFilesInDir(const char *directory, std::vector<FileInfo> *files, const
|
||||
|
||||
if (files)
|
||||
files->push_back(info);
|
||||
foundEntries++;
|
||||
#ifdef _WIN32
|
||||
} while (FindNextFile(hFind, &ffd) != 0);
|
||||
FindClose(hFind);
|
||||
|
||||
Reference in new issue
Block a user