about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2023-05-03 19:53:21 +0200
committerptitSeb <sebastien.chev@gmail.com>2023-05-03 19:53:21 +0200
commit60d2efc74b4fe9d9dc907726040ea780bda4247f (patch)
treed86062e6c847a3ce287d4d116cdce2fbbefbfb05 /src
parent144b44e83853aa916b75a44d34e56bf914d56c84 (diff)
downloadbox64-60d2efc74b4fe9d9dc907726040ea780bda4247f.tar.gz
box64-60d2efc74b4fe9d9dc907726040ea780bda4247f.zip
Disabling free hack on malloc_hack_2, it seems to break steam for now
Diffstat (limited to 'src')
-rw-r--r--src/mallochook.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mallochook.c b/src/mallochook.c
index 62e14f3a..b33f2e3e 100644
--- a/src/mallochook.c
+++ b/src/mallochook.c
@@ -709,7 +709,7 @@ typedef struct simple_jmp_s {
 
 static void addRelocJmp(void* offs, void* where, size_t size, const char* name, elfheader_t* h)
 {
-    if(malloc_hack_2 && !strcmp(name, "free")) {
+    if(0 && malloc_hack_2 && !strcmp(name, "free")) {
         if(!real_free /*&& !strcmp(name, "free")*/)
             real_free = (uintptr_t)offs;
         // a bridge jump is roughly 32 bytes