wut/samples/cmake/my_first_rpl/my_first_rpl.c

21 lines
312 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
2018-09-30 09:36:43 +02:00
rpl_entry(OSDynLoad_Module module,
OSDynLoad_EntryReason reason)
2018-05-30 22:56:29 +02:00
{
if (reason == OS_DYNLOAD_LOADED) {
// Do stuff on load
} else if (reason == OS_DYNLOAD_UNLOADED) {
// Do stuff on unload
}
return 0;
}