diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2023-05-03 19:53:21 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2023-05-03 19:53:21 +0200 |
| commit | 60d2efc74b4fe9d9dc907726040ea780bda4247f (patch) | |
| tree | d86062e6c847a3ce287d4d116cdce2fbbefbfb05 | |
| parent | 144b44e83853aa916b75a44d34e56bf914d56c84 (diff) | |
| download | box64-60d2efc74b4fe9d9dc907726040ea780bda4247f.tar.gz box64-60d2efc74b4fe9d9dc907726040ea780bda4247f.zip | |
Disabling free hack on malloc_hack_2, it seems to break steam for now
| -rw-r--r-- | src/mallochook.c | 2 |
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 |