From 27d79eddec43654679594a935c21541eab3ec046 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Tue, 13 Jul 2021 15:45:36 +0200 Subject: Fixed and improved handling of segments and Call Far and signal (helps Wine64) --- src/libtools/threads.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libtools/threads.c') diff --git a/src/libtools/threads.c b/src/libtools/threads.c index 3dd10603..b56ebd9a 100755 --- a/src/libtools/threads.c +++ b/src/libtools/threads.c @@ -464,7 +464,7 @@ void* my_prepare_thread(x64emu_t *emu, void* f, void* arg, int ssize, void** pet emuthread_t *et = (emuthread_t*)calloc(1, sizeof(emuthread_t)); x64emu_t *emuthread = NewX64Emu(emu->context, (uintptr_t)f, (uintptr_t)stack, stacksize, 1); SetupX64Emu(emuthread); - SetFS(emuthread, GetFS(emu)); + //SetFS(emuthread, GetFS(emu)); et->emu = emuthread; et->fnc = (uintptr_t)f; et->arg = arg; -- cgit 1.4.1