mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 20:42:44 +02:00
return through libc exit rather than __libnx_exit directly (#139)
This commit is contained in:
parent
e1d50dc129
commit
be509f62ce
@ -55,8 +55,8 @@ bss_loop:
|
||||
ldr w0, [x0, #:lo12:__system_argc]
|
||||
adrp x1, __system_argv // argv
|
||||
ldr x1, [x1, #:lo12:__system_argv]
|
||||
adrp x30, __libnx_exit
|
||||
add x30, x30, #:lo12:__libnx_exit
|
||||
adrp x30, exit
|
||||
add x30, x30, #:lo12:exit
|
||||
b main
|
||||
|
||||
.global __nx_exit
|
||||
|
Loading…
Reference in New Issue
Block a user