You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Fixed dir access return value, changed it to Error like all other funcs
This commit is contained in:
@@ -37,16 +37,16 @@ DirAccess *DirAccessAndroid::create_fs() {
|
||||
return memnew(DirAccessAndroid);
|
||||
}
|
||||
|
||||
bool DirAccessAndroid::list_dir_begin() {
|
||||
Error DirAccessAndroid::list_dir_begin() {
|
||||
|
||||
list_dir_end();
|
||||
|
||||
AAssetDir* aad = AAssetManager_openDir(FileAccessAndroid::asset_manager,current_dir.utf8().get_data());
|
||||
if (!aad)
|
||||
return true; //nothing
|
||||
return ERR_CANT_OPEN; //nothing
|
||||
|
||||
|
||||
return false;
|
||||
return OK;
|
||||
}
|
||||
|
||||
String DirAccessAndroid::get_next(){
|
||||
|
||||
Reference in New Issue
Block a user