mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 20:42:44 +02:00
Fixed crt0 bug
This commit is contained in:
parent
d7413ea37e
commit
ea07a84df6
@ -43,7 +43,8 @@ got_loop:
|
|||||||
|
|
||||||
// setup heap
|
// setup heap
|
||||||
ldr x1, =HEAP_SIZE
|
ldr x1, =HEAP_SIZE
|
||||||
svc 1
|
svc 1 // check retval?
|
||||||
|
mov x0, x1
|
||||||
ldr x1, =HEAP_SIZE
|
ldr x1, =HEAP_SIZE
|
||||||
ldr x3, =heapInit
|
ldr x3, =heapInit
|
||||||
add x3, x3, x30
|
add x3, x3, x30
|
||||||
|
Loading…
Reference in New Issue
Block a user