1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

fixes in handling of DirAccess for resource path on Android, fixes #1447

This commit is contained in:
Juan Linietsky
2015-04-28 09:38:07 -03:00
parent 0adca0a7c9
commit c6dce44dd8
4 changed files with 57 additions and 33 deletions

View File

@@ -67,7 +67,6 @@ Error FileAccessJAndroid::_open(const String& p_path, int p_mode_flags) {
jstring js = env->NewStringUTF(path.utf8().get_data());
int res = env->CallIntMethod(io,_file_open,js,p_mode_flags&WRITE?true:false);
env->DeleteLocalRef(js);
if (res<=0)