Util: Fix inserting too many items into a hash table
Jeffrey Pfau jeffrey@endrift.com
Mon, 19 Sep 2016 15:01:58 -0700
2 files changed,
2 insertions(+),
0 deletions(-)
M
CHANGES
→
CHANGES
@@ -43,6 +43,7 @@ - GBA Video: Fix out-of-order OBJWIN
- GBA: Count up timers should not count themselves - GBA Savedata: Fix savedata sync timer - GBA Savedata: Only unmap savedata if present + - Util: Fix inserting too many items into a hash table Misc: - 3DS: Use blip_add_delta_fast for a small speed improvement - OpenGL: Log shader compilation failure
M
src/util/table.c
→
src/util/table.c
@@ -175,6 +175,7 @@ lookupResult->value = value;
} return; } TABLE_LOOKUP_END; + list = _resizeAsNeeded(table, list, hash); list->list[list->nEntries].key = hash; list->list[list->nEntries].stringKey = strdup(key); list->list[list->nEntries].keylen = strlen(key);