diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2025-09-03 18:29:46 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2025-09-03 18:29:46 +0200 |
| commit | 5e027587134a20451ab4aefde639eb254d80844a (patch) | |
| tree | 98d8b388ffa0b80e68b61bdf09c6e59803314259 /src/core.c | |
| parent | ff9b2a235b0103217c1f3796cc524df26ad794ce (diff) | |
| download | box64-5e027587134a20451ab4aefde639eb254d80844a.tar.gz box64-5e027587134a20451ab4aefde639eb254d80844a.zip | |
Make sure to use custom allocator for everything Env related
Diffstat (limited to 'src/core.c')
| -rw-r--r-- | src/core.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core.c b/src/core.c index 5224e086..b7636207 100644 --- a/src/core.c +++ b/src/core.c @@ -736,14 +736,14 @@ int initialize(int argc, const char **argv, char** env, x64emu_t** emulator, elf ftrace = stdout; - LoadEnvVariables(); - InitializeEnvFiles(); - // grab pagesize box64_pagesize = sysconf(_SC_PAGESIZE); if(!box64_pagesize) box64_pagesize = 4096; + LoadEnvVariables(); + InitializeEnvFiles(); + const char* prog = argv[1]; int nextarg = 1; // check if some options are passed |