diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-12-03 12:52:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-03 12:52:13 +0100 |
commit | c6965961c723c3e79736083b035ecfb695238e43 (patch) | |
tree | c4f1ff98b206e36fdf4600e6613b82c85ee443e5 | |
parent | df4fe114a10cf31d7b22f8008e7ae52e8cd9654c (diff) | |
parent | 0c06fbe6db2fd9c7315a81cf533b5c5f5fc67262 (diff) |
Merge pull request #44064 from akien-mga/mono-android-fix-build
Mono: Fix Android build after #36311
-rw-r--r-- | modules/mono/build_scripts/make_android_mono_config.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/mono/build_scripts/make_android_mono_config.py b/modules/mono/build_scripts/make_android_mono_config.py index 04f8c80243..28494bff6e 100644 --- a/modules/mono/build_scripts/make_android_mono_config.py +++ b/modules/mono/build_scripts/make_android_mono_config.py @@ -38,10 +38,10 @@ String get_godot_android_mono_config() { Vector<uint8_t> data; data.resize(config_uncompressed_size); uint8_t* w = data.ptrw(); - Compression::decompress(w.ptr(), config_uncompressed_size, config_compressed_data, + Compression::decompress(w, config_uncompressed_size, config_compressed_data, config_compressed_size, Compression::MODE_DEFLATE); String s; - if (s.parse_utf8((const char *)w.ptr(), data.size())) { + if (s.parse_utf8((const char *)w, data.size())) { ERR_FAIL_V(String()); } return s; |