mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-22 05:21:15 +01:00
Add fsDevInit and fsDevExit to crt0.s
This commit is contained in:
parent
8567820fa8
commit
a7bf479c33
10
crt/crt0.S
10
crt/crt0.S
@ -2,7 +2,17 @@
|
||||
.extern exit
|
||||
.global _start
|
||||
_start:
|
||||
stwu 1, -0x8(1)
|
||||
stw 3, 0(1)
|
||||
stw 4, 4(1)
|
||||
bl fsDevInit
|
||||
lwz 3, 0(1)
|
||||
lwz 4, 4(1)
|
||||
bl main
|
||||
stw 3, 0(1)
|
||||
bl fsDevExit
|
||||
lwz 3, 0(1)
|
||||
addi 1, 1, 0x8
|
||||
b exit
|
||||
|
||||
.global __wrap___eabi
|
||||
|
Loading…
x
Reference in New Issue
Block a user