From 6b0a1d286a0ff9a01370fb79320f85768e313549 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Thu, 22 Jun 2023 16:33:33 +0200 Subject: [32BITS][DYNAREC] Preparing Dynarec to handle 32bits code --- src/libtools/threads.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libtools') diff --git a/src/libtools/threads.c b/src/libtools/threads.c index 707d3833..83627da5 100755 --- a/src/libtools/threads.c +++ b/src/libtools/threads.c @@ -498,7 +498,7 @@ EXPORT int my_pthread_create(x64emu_t *emu, void* t, void* attr, void* start_rou #ifdef DYNAREC if(box64_dynarec) { // pre-creation of the JIT code for the entry point of the thread - DBGetBlock(emu, (uintptr_t)start_routine, 1); + DBGetBlock(emu, (uintptr_t)start_routine, 1, 0); // function wrapping are 64bits only on box64 } #endif // create thread @@ -519,7 +519,7 @@ void* my_prepare_thread(x64emu_t *emu, void* f, void* arg, int ssize, void** pet et->arg = arg; #ifdef DYNAREC // pre-creation of the JIT code for the entry point of the thread - DBGetBlock(emu, (uintptr_t)f, 1); + DBGetBlock(emu, (uintptr_t)f, 1, 0); // function wrapping are 64bits only on box64 #endif *pet = et; return pthread_routine; -- cgit 1.4.1