about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.c1
-rw-r--r--src/tools/rbtree.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 316ec2f8..1e26cce6 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1367,6 +1367,7 @@ void endBox64()
         return;
 
     // then call all the fini
+    dynarec_log(LOG_DEBUG, "endBox64() called\n");
     box64_quit = 1;
     endMallocHook();
     x64emu_t* emu = thread_get_emu();
diff --git a/src/tools/rbtree.c b/src/tools/rbtree.c
index a7e4daf1..257a404f 100644
--- a/src/tools/rbtree.c
+++ b/src/tools/rbtree.c
@@ -591,7 +591,7 @@ int rb_get_end(rbtree* tree, uintptr_t addr, uint32_t* val, uintptr_t* end) {
 
 int rb_set(rbtree *tree, uintptr_t start, uintptr_t end, uint32_t data) {
 // printf("rb_set( "); print_rbtree(tree); printf(" , 0x%lX, 0x%lX, %hhu);\n", start, end, data); fflush(stdout);
-dynarec_log(LOG_DEBUG, "set 0x%lX, 0x%lX, %hhu\n", start, end, data);
+dynarec_log(LOG_DEBUG, "set 0x%lX, 0x%lX, 0x%x\n", start, end, data);
     if (!tree->root) {
         return add_range(tree, start, end, data);
     }