mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-05 03:04:16 +01:00
Rename rpl_main to rpl_entry.
This commit is contained in:
parent
9a3483638e
commit
400318c3d1
@ -119,8 +119,8 @@ OSDynLoad_GetModuleName(OSDynLoad_Module module,
|
||||
* Use this instead of main when creating .rpl files
|
||||
*/
|
||||
int
|
||||
rpl_main(OSDynLoad_Module module,
|
||||
OSDynLoad_EntryReason reason);
|
||||
rpl_entry(OSDynLoad_Module module,
|
||||
OSDynLoad_EntryReason reason);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
@ -19,7 +19,7 @@ load:
|
||||
bl __eabi
|
||||
lwz 3, 0xC(1)
|
||||
lwz 4, 0x10(1)
|
||||
bl rpl_main
|
||||
bl rpl_entry
|
||||
addi 1, 1, 0x14
|
||||
blr
|
||||
|
||||
@ -27,7 +27,7 @@ unload:
|
||||
# Handle unload
|
||||
lwz 3, 0xC(1)
|
||||
lwz 4, 0x10(1)
|
||||
bl rpl_main
|
||||
bl rpl_entry
|
||||
bl __fini_wut
|
||||
addi 1, 1, 0x14
|
||||
b exit
|
||||
|
@ -7,8 +7,8 @@ my_first_export()
|
||||
}
|
||||
|
||||
int
|
||||
rpl_main(OSDynLoad_Module module,
|
||||
OSDynLoad_EntryReason reason)
|
||||
rpl_entry(OSDynLoad_Module module,
|
||||
OSDynLoad_EntryReason reason)
|
||||
{
|
||||
if (reason == OS_DYNLOAD_LOADED) {
|
||||
// Do stuff on load
|
||||
|
Loading…
Reference in New Issue
Block a user