mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 05:26:24 +02:00
Sort file listings from Android Content URIs. May help #14607
This commit is contained in:
1 parent
b5b7d4cd07
commit
59e2d3556f
1 file changed
+1
@@ -164,6 +164,7 @@ size_t GetFilesInDir(const Path &directory, std::vector<FileInfo> * files, const
|
||||
if (directory.Type() == PathType::CONTENT_URI) {
|
||||
std::vector<File::FileInfo> fileList = Android_ListContentUri(directory.ToString());
|
||||
*files = ApplyFilter(fileList, filter);
|
||||
std::sort(files->begin(), files->end());
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user