diff options
| author | Juan Linietsky | 2017-09-03 00:22:54 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2017-09-03 00:24:36 -0300 |
| commit | ce28452109676d55e4d1fbb7158c8bf1fa8db406 (patch) | |
| tree | f36f735311b6b06c3be39b821b4bdf7dfe2ac83d /core/io/resource_format_binary.cpp | |
| parent | 53e7f55a898efd1c1a3b424c3bce81c1240a9ca6 (diff) | |
| download | godot-ce28452109676d55e4d1fbb7158c8bf1fa8db406.tar.gz godot-ce28452109676d55e4d1fbb7158c8bf1fa8db406.tar.zst godot-ce28452109676d55e4d1fbb7158c8bf1fa8db406.zip | |
Diffstat (limited to 'core/io/resource_format_binary.cpp')
| -rw-r--r-- | core/io/resource_format_binary.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/io/resource_format_binary.cpp b/core/io/resource_format_binary.cpp index c5909981e..084d8ffca 100644 --- a/core/io/resource_format_binary.cpp +++ b/core/io/resource_format_binary.cpp @@ -1117,6 +1117,9 @@ Error ResourceFormatLoaderBinary::rename_dependencies(const String &p_path, cons memdelete(f); } ERR_FAIL_COND_V(!fw, ERR_CANT_CREATE); + + uint8_t magic[4] = { 'R', 'S', 'R', 'C' }; + fw->store_buffer(magic, 4); } bool big_endian = f->get_32(); |
