From 0d2c5e478be66d6b8f2b02451439f9d570fe2bfa Mon Sep 17 00:00:00 2001 From: Ed_ Date: Sun, 26 May 2024 12:23:50 -0400 Subject: [PATCH] Don't reload font_provider_data's cache (since we don't have that swapped yet) --- code/sectr/engine/client_api.odin | 2 +- scripts/build.ps1 | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/code/sectr/engine/client_api.odin b/code/sectr/engine/client_api.odin index 7a50452..6f53b30 100644 --- a/code/sectr/engine/client_api.odin +++ b/code/sectr/engine/client_api.odin @@ -394,7 +394,7 @@ reload :: proc( prof : ^SpallProfiler, persistent_mem, frame_mem, transient_mem, slab_reload( persistent_slab, persistent_allocator() ) - hmap_chained_reload( font_provider_data.font_cache, persistent_allocator()) + // hmap_chained_reload( font_provider_data.font_cache, persistent_allocator()) slab_reload( string_cache.slab, persistent_allocator() ) zpl_hmap_reload( & string_cache.table, persistent_slab_allocator()) diff --git a/scripts/build.ps1 b/scripts/build.ps1 index ff0a966..b3a015f 100644 --- a/scripts/build.ps1 +++ b/scripts/build.ps1 @@ -111,6 +111,7 @@ $flag_msvc_link_disable_dynamic_base = '/DYNAMICBASE:NO' $flag_msvc_link_base_address = '/BASE:' $flag_msvc_link_fixed_base_address = '/FIXED' $flag_msvc_link_stack_size = '/STACK' +$flag_msvc_link_debug = '/DEBUG' $msvc_link_default_base_address = 0x180000000 @@ -174,6 +175,7 @@ push-location $path_root } $linker_args = "" + # $linker_args += ( $flag_msvc_link_debug + ' ' ) $linker_args += ( $flag_msvc_link_disable_dynamic_base + ' ' ) $linker_args += ( $flag_msvc_link_fixed_base_address + ' ' ) $linker_args += ( $flag_msvc_link_base_address + '0x20000000000' )