return through libc exit rather than __libnx_exit directly (#139)

This commit is contained in:
Dave Murphy 2018-07-26 17:01:40 +01:00 committed by fincs
parent e1d50dc129
commit be509f62ce

View File

@ -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