mirror of https://github.com/axmolengine/axmol.git
Make android listFiles behavior same with other platforms
This commit is contained in:
parent
f297db819b
commit
b090664084
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue