We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
cache_files_populate_resource_gestalt
1 parent d96955a commit 754914cCopy full SHA for 754914c
game/source/cache/cache_files.cpp
@@ -569,7 +569,9 @@ s_cache_file_resource_gestalt* __cdecl cache_files_populate_resource_gestalt()
569
570
int32 total_resource_fixup_count = 0;
571
for (int32 i = 0; i < g_cache_file_globals.tag_loaded_count; i++)
572
- total_resource_fixup_count += g_cache_file_globals.tag_instances[i]->resource_fixup_count;
+ {
573
+ total_resource_fixup_count += g_cache_file_globals.tag_instances[i]->resource_fixup_count & 0xFFFF;
574
+ }
575
576
int32 resource_fixup_size = sizeof(s_cache_file_tag_resource_data*) * total_resource_fixup_count;
577
int32 resource_gestalt_size = resource_fixup_size + sizeof(s_cache_file_resource_gestalt);
0 commit comments