Make android listFiles behavior same with other platforms

This commit is contained in:
halx99 2020-08-17 12:09:31 +08:00
parent f297db819b
commit b090664084
1 changed files with 1 additions and 1 deletions

View File

@ -332,7 +332,7 @@ std::vector<std::string> FileUtilsAndroid::listFiles(const std::string& dirPath)
{
string filepath(tmpDir);
if(isDirectoryExistInternal(filepath)) filepath += "/";
fileList.push_back(filepath);
fileList.push_back(fullPath + filepath);
}
AAssetDir_close(dir);
return fileList;