diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2021-07-13 15:45:36 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2021-07-13 15:45:36 +0200 |
| commit | 27d79eddec43654679594a935c21541eab3ec046 (patch) | |
| tree | 17f94c44752d89e9fca3d9d09b32923ea39a4157 /src/libtools/threads.c | |
| parent | 0e5bc91a14beb8756f2f76d2827a67ba53159b2a (diff) | |
| download | box64-27d79eddec43654679594a935c21541eab3ec046.tar.gz box64-27d79eddec43654679594a935c21541eab3ec046.zip | |
Fixed and improved handling of segments and Call Far and signal (helps Wine64)
Diffstat (limited to 'src/libtools/threads.c')
| -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 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; |