wut/samples/my_first_rpl/my_first_rpl.c
2018-05-30 21:56:29 +01:00

21 lines
310 B
C

#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;
}