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