about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-04-05 16:46:30 +0200
committerptitSeb <sebastien.chev@gmail.com>2021-04-05 16:46:30 +0200
commit765a9d8325a27f5bde4085147aee287abc32b28c (patch)
treebd95ad7ee9dbd9466f4bb0b4a1b7417684bc8863 /src
parent67c6a661e5a46d024867c74dec62fa11c4b55050 (diff)
downloadbox64-765a9d8325a27f5bde4085147aee287abc32b28c.tar.gz
box64-765a9d8325a27f5bde4085147aee287abc32b28c.zip
Re-enabled the pre-calc of next block for new thread
Diffstat (limited to 'src')
-rwxr-xr-xsrc/libtools/threads.c2
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, &current);