wut/samples/my_first_rpl/my_first_rpl.c

21 lines
310 B
C
Raw Normal View History

2018-05-30 22:56:29 +02:00
#include <coreinit/dynload.h>
int
my_first_export()
{
return 1;
}
int
rpl_main(OSDynLoad_Module module,
OSDynLoad_EntryReason reason)
{
if (reason == OS_DYNLOAD_LOADED) {
// Do stuff on load
} else if (reason == OS_DYNLOAD_UNLOADED) {
// Do stuff on unload
}
return 0;
}