about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-09-30 17:41:08 +0200
committerptitSeb <sebastien.chev@gmail.com>2024-09-30 17:41:08 +0200
commitc88cf6359e4968bd5449c85f2ca7890f2b0c473f (patch)
tree91af7e1cb08cecf728a6a9e73e6fdc6e3ca68918 /src
parent62405c79c37b21c7cd8237e4525354e0e45189ba (diff)
downloadbox64-c88cf6359e4968bd5449c85f2ca7890f2b0c473f.tar.gz
box64-c88cf6359e4968bd5449c85f2ca7890f2b0c473f.zip
[BOX32] Keep low memory free by default
Diffstat (limited to 'src')
-rw-r--r--src/custommem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/custommem.c b/src/custommem.c
index 17a97a49..03947a66 100644
--- a/src/custommem.c
+++ b/src/custommem.c
@@ -1615,7 +1615,7 @@ int getMmapped(uintptr_t addr)
 void* find31bitBlockNearHint(void* hint, size_t size, uintptr_t mask)
 {
     uint32_t prot;
-    if(hint<LOWEST) hint = box64_wine?WINE_LOWEST:LOWEST;
+    if(hint<LOWEST) hint = WINE_LOWEST;
     uintptr_t bend = 0;
     uintptr_t cur = (uintptr_t)hint;
     if(!mask) mask = 0xffff;