diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2023-06-22 16:33:33 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2023-06-22 16:33:33 +0200 |
| commit | 6b0a1d286a0ff9a01370fb79320f85768e313549 (patch) | |
| tree | e07d1e7f77aea04507152406061332ece0bcb57e /src/libtools | |
| parent | e78cd0d62378c6de1bdc539626e0b27485b3c20f (diff) | |
| download | box64-6b0a1d286a0ff9a01370fb79320f85768e313549.tar.gz box64-6b0a1d286a0ff9a01370fb79320f85768e313549.zip | |
[32BITS][DYNAREC] Preparing Dynarec to handle 32bits code
Diffstat (limited to 'src/libtools')
| -rwxr-xr-x | src/libtools/threads.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |