about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndré Zwing <nerv@dawncrow.de>2025-05-22 21:19:40 +0200
committerAndré Zwing <nerv@dawncrow.de>2025-05-22 21:27:02 +0200
commitb729e3e37b37b5c14ab556d674aa71c24edcdffe (patch)
tree510257c1ab6bd53717a9b2f9e22fead2ca7d27de
parent73e7c6b4803e63f7d29de7b67f25a51e2bb5ecf6 (diff)
downloadbox64-b729e3e37b37b5c14ab556d674aa71c24edcdffe.tar.gz
box64-b729e3e37b37b5c14ab556d674aa71c24edcdffe.zip
[WOW64] Initialize db_sizes
-rw-r--r--wow64/wowbox64.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/wow64/wowbox64.c b/wow64/wowbox64.c
index 23839b64..4d6d7263 100644
--- a/wow64/wowbox64.c
+++ b/wow64/wowbox64.c
@@ -18,6 +18,7 @@
 #include "x64trace.h"
 #include "box64context.h"
 #include "box64cpu.h"
+#include "rbtree.h"
 #include "wine/debug.h"
 
 uintptr_t box64_pagesize = 4096;
@@ -140,6 +141,7 @@ STATIC_ASSERT(offsetof(x64emu_t, win64_teb) == 3120, offset_of_b_must_be_4);
     unxcode[0] = 0x2ecd;
 
     init_custommem_helper(&box64_context);
+    box64_context.db_sizes = rbtree_init("db_sizes");
 
     if ((ULONG_PTR)bopcode >> 32 || (ULONG_PTR)unxcode >> 32)
     {