about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2023-07-12 15:56:47 +0200
committerptitSeb <sebastien.chev@gmail.com>2023-07-12 15:56:47 +0200
commitb4c951b66bd1d2d65564bec362d0018233d9c8c9 (patch)
treed88f06de7ecbc52edf44612ab8cf504144256b58 /src
parentb1c09acb0cab2a6c12a275f418c7ce41491c594a (diff)
downloadbox64-b4c951b66bd1d2d65564bec362d0018233d9c8c9.tar.gz
box64-b4c951b66bd1d2d65564bec362d0018233d9c8c9.zip
[DYNAREC] Used uwrapped malloc functions for dynarec
Diffstat (limited to 'src')
-rwxr-xr-xsrc/include/dynarec_native.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/dynarec_native.h b/src/include/dynarec_native.h
index 42366858..05bfc3b5 100755
--- a/src/include/dynarec_native.h
+++ b/src/include/dynarec_native.h
@@ -12,10 +12,10 @@ typedef struct instsize_s instsize_t;
 #define dynaRealloc customRealloc
 #define dynaFree customFree
 #else
-#define dynaMalloc malloc
-#define dynaCalloc calloc
-#define dynaRealloc realloc
-#define dynaFree free
+#define dynaMalloc box_malloc
+#define dynaCalloc box_calloc
+#define dynaRealloc box_realloc
+#define dynaFree box_free
 #endif
 
 void addInst(instsize_t* insts, size_t* size, int x64_size, int native_size);