mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-05 10:52:15 +02:00
return through libc exit rather than __libnx_exit directly
This commit is contained in:
parent
37689b53b6
commit
cd90bd9623
@ -55,8 +55,8 @@ bss_loop:
|
|||||||
ldr w0, [x0, #:lo12:__system_argc]
|
ldr w0, [x0, #:lo12:__system_argc]
|
||||||
adrp x1, __system_argv // argv
|
adrp x1, __system_argv // argv
|
||||||
ldr x1, [x1, #:lo12:__system_argv]
|
ldr x1, [x1, #:lo12:__system_argv]
|
||||||
adrp x30, __libnx_exit
|
adrp x30, exit
|
||||||
add x30, x30, #:lo12:__libnx_exit
|
add x30, x30, #:lo12:exit
|
||||||
b main
|
b main
|
||||||
|
|
||||||
.global __nx_exit
|
.global __nx_exit
|
||||||
|
Loading…
Reference in New Issue
Block a user