diff options
author | kobewi <kobewi4e@gmail.com> | 2022-09-05 13:01:31 +0200 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2022-09-19 11:03:31 +0200 |
commit | 9f2dc68279761bb5c4ed569ba4fcae002facd810 (patch) | |
tree | 7c0da0d1a197f1faf3abe263752fea21abf79215 /core/io/resource_format_binary.cpp | |
parent | 63c0dc690e06731224e88911ed16d1b798b681b5 (diff) | |
download | redot-engine-9f2dc68279761bb5c4ed569ba4fcae002facd810.tar.gz |
Replace File/Directory with FileAccess/DirAccess
Diffstat (limited to 'core/io/resource_format_binary.cpp')
-rw-r--r-- | core/io/resource_format_binary.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/io/resource_format_binary.cpp b/core/io/resource_format_binary.cpp index 4f1204fc48..06649aba5b 100644 --- a/core/io/resource_format_binary.cpp +++ b/core/io/resource_format_binary.cpp @@ -1206,7 +1206,7 @@ Error ResourceFormatLoaderBinary::rename_dependencies(const String &p_path, cons Ref<FileAccessCompressed> facw; facw.instantiate(); facw->configure("RSCC"); - err = facw->_open(p_path + ".depren", FileAccess::WRITE); + err = facw->open_internal(p_path + ".depren", FileAccess::WRITE); ERR_FAIL_COND_V_MSG(err, ERR_FILE_CORRUPT, "Cannot create file '" + p_path + ".depren'."); fw = facw; @@ -1986,7 +1986,7 @@ Error ResourceFormatSaverBinaryInstance::save(const String &p_path, const Ref<Re fac.instantiate(); fac->configure("RSCC"); f = fac; - err = fac->_open(p_path, FileAccess::WRITE); + err = fac->open_internal(p_path, FileAccess::WRITE); } else { f = FileAccess::open(p_path, FileAccess::WRITE, &err); } |