increase hash store history limit; fix incorrectly skipping important go-to-code-location commands

This commit is contained in:
Ryan Fleury committed 2024-10-08 17:02:49 -07:00
1 parent aea1999af0
commit 05045c8db0
8 files changed
+13 -20

No files matched your search

+1 -1
View File
@@ -201,7 +201,7 @@ internal R_Handle
geo_buffer_from_key(GEO_Scope *scope, U128 key)
{
R_Handle handle = {0};
for(U64 rewind_idx = 0; rewind_idx < 2; rewind_idx += 1)
for(U64 rewind_idx = 0; rewind_idx < HS_KEY_HASH_HISTORY_COUNT; rewind_idx += 1)
{
U128 hash = hs_hash_from_key(key, rewind_idx);
handle = geo_buffer_from_hash(scope, hash);