| 150 | } |
| 151 | |
| 152 | Error GDREPackedData::add_dir(const String &p_path, bool p_replace_files) { |
| 153 | if (dir_source.try_open_pack(p_path, p_replace_files, 0)) { |
| 154 | set_disabled(false); |
| 155 | return OK; |
| 156 | } |
| 157 | return ERR_FILE_CANT_OPEN; |
| 158 | } |
| 159 | |
| 160 | namespace { |
| 161 | // Solely here to test that PackedData::PackedFile hasn't changed |