diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2024-09-10 10:32:45 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2024-09-10 10:32:45 +0200 |
| commit | cc9984a08206519e0eaa3c09b4042ff509492518 (patch) | |
| tree | 2f7f0cf9aa890eeed7edf0d7f65fb6026d4d3f4e /src/libtools/threads.c | |
| parent | c22758d794de31d9db03ae0d6e1494eafe414ff2 (diff) | |
| download | box64-cc9984a08206519e0eaa3c09b4042ff509492518.tar.gz box64-cc9984a08206519e0eaa3c09b4042ff509492518.zip | |
Fixed alignement of thread funcitons (fixed regression for #1810)
Diffstat (limited to 'src/libtools/threads.c')
| -rw-r--r-- | src/libtools/threads.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libtools/threads.c b/src/libtools/threads.c index 463777c2..da514e43 100644 --- a/src/libtools/threads.c +++ b/src/libtools/threads.c @@ -243,7 +243,6 @@ static void* pthread_routine(void* p) R_RBP = R_RSP; // MOV BP, SP R_RSP -= 64; // Guard zone R_RSP &= ~15LL; - R_RSP-=8; // make sure RSP is aligned inside thread function PushExit(emu); R_RIP = et->fnc; R_RDI = (uintptr_t)et->arg; |