diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2021-04-05 16:46:30 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2021-04-05 16:46:30 +0200 |
| commit | 765a9d8325a27f5bde4085147aee287abc32b28c (patch) | |
| tree | bd95ad7ee9dbd9466f4bb0b4a1b7417684bc8863 /src/libtools | |
| parent | 67c6a661e5a46d024867c74dec62fa11c4b55050 (diff) | |
| download | box64-765a9d8325a27f5bde4085147aee287abc32b28c.tar.gz box64-765a9d8325a27f5bde4085147aee287abc32b28c.zip | |
Re-enabled the pre-calc of next block for new thread
Diffstat (limited to 'src/libtools')
| -rwxr-xr-x | src/libtools/threads.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libtools/threads.c b/src/libtools/threads.c index 567fb76f..ed37ca2c 100755 --- a/src/libtools/threads.c +++ b/src/libtools/threads.c @@ -306,7 +306,7 @@ EXPORT int my_pthread_create(x64emu_t *emu, void* t, void* attr, void* start_rou et->fnc = (uintptr_t)start_routine; et->arg = arg; #ifdef DYNAREC - if(0 && box64_dynarec) { // disable for now + if(box64_dynarec) { // pre-creation of the JIT code for the entry point of the thread dynablock_t *current = NULL; DBGetBlock(emu, (uintptr_t)start_routine, 1, ¤t); |