about summary refs log tree commit diff stats
path: root/src/libtools/threads.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libtools/threads.c')
-rw-r--r--src/libtools/threads.c1
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;