From cd55c12e44f7cbfd048dbdd3cf9ef2b5b06bfa93 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Wed, 6 Nov 2024 16:09:38 +0100 Subject: Added a few wrapped function and fixed some other (for Steam) --- src/wrapped/wrappedldlinux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wrapped/wrappedldlinux.c') diff --git a/src/wrapped/wrappedldlinux.c b/src/wrapped/wrappedldlinux.c index 90ec1b23..cd2ee420 100644 --- a/src/wrapped/wrappedldlinux.c +++ b/src/wrapped/wrappedldlinux.c @@ -31,7 +31,7 @@ EXPORT void* my___tls_get_addr(void* p) EXPORT void* my___libc_stack_end; void stSetup(box64context_t* context) { - my___libc_stack_end = context->stack; // is this the end, or should I add stasz? + my___libc_stack_end = context->stack + context->stacksz; } #ifdef STATICBUILD -- cgit 1.4.1