mirror of
https://github.com/wiiu-env/WiiUModuleSystem.git
synced 2026-08-22 08:24:04 -05:00
The entrypoint is now called ONCE by the SetupPayload. Replace the usage by WUMS_APPLICATION_STARTS
This commit is contained in:
3
libraries/libwums/crt.c
Normal file
3
libraries/libwums/crt.c
Normal file
@@ -0,0 +1,3 @@
|
||||
int main(int argc, char** argv){
|
||||
return 0;
|
||||
}
|
||||
@@ -15,12 +15,7 @@ __wums_start:
|
||||
bl __init_wut
|
||||
lwz 4, 0x1C(31)
|
||||
lwz 3, 0x18(31)
|
||||
bl main
|
||||
or 9, 3, 3
|
||||
stw 9, 0x8(31)
|
||||
bl __fini_wut
|
||||
lwz 9, 0x8(31)
|
||||
or 3, 9, 9
|
||||
bl main
|
||||
addi 11, 31, 0x28
|
||||
lwz 0, 0x4(11)
|
||||
mtlr 0
|
||||
|
||||
Reference in New Issue
Block a user