about summary refs log tree commit diff stats
path: root/src/core.c
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-04-27 17:07:33 +0200
committerptitSeb <sebastien.chev@gmail.com>2024-04-27 17:07:33 +0200
commit2b8a8314c5879473875b339172b2ef2b7b9b7ff6 (patch)
treec88068b4e604ece135659f1520a62929b1c405ed /src/core.c
parenteb28edbe58fc9ea323ca5f36c3351ac458de454c (diff)
downloadbox64-2b8a8314c5879473875b339172b2ef2b7b9b7ff6.tar.gz
box64-2b8a8314c5879473875b339172b2ef2b7b9b7ff6.zip
Changed how wine prereserve is handled on box64
Diffstat (limited to 'src/core.c')
-rw-r--r--src/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.c b/src/core.c
index 7b94fbd6..25fa9f14 100644
--- a/src/core.c
+++ b/src/core.c
@@ -1713,7 +1713,7 @@ int initialize(int argc, const char **argv, char** env, x64emu_t** emulator, elf
      || (strrchr(prog, '/') && !strcmp(strrchr(prog,'/'), "/wine64"))) {
         const char* prereserve = getenv("WINEPRELOADRESERVE");
         printf_log(LOG_INFO, "BOX64: Wine64 detected, WINEPRELOADRESERVE=\"%s\"\n", prereserve?prereserve:"");
-        if(wine_preloaded) {
+        if(wine_preloaded || 1) {
             wine_prereserve(prereserve);
         }
         // special case for winedbg, doesn't work anyway