| 308 | } |
| 309 | |
| 310 | uint32_t GDRESettings::get_file_count() const { |
| 311 | if (!is_pack_loaded()) { |
| 312 | return 0; |
| 313 | } |
| 314 | int count = 0; |
| 315 | for (const auto &pack : packs) { |
| 316 | count += pack->file_count; |
| 317 | } |
| 318 | return count; |
| 319 | } |
| 320 | |
| 321 | bool GDRESettings::uses_nonstandard_headers() const { |
| 322 | if (!is_pack_loaded()) { |