2020-06-06 16:01:40 +01:00
|
|
|
#include "my_first_rpl.h"
|
|
|
|
|
2018-05-30 21:56:29 +01:00
|
|
|
#include <coreinit/dynload.h>
|
|
|
|
|
2020-06-06 16:01:40 +01:00
|
|
|
const char *
|
2018-05-30 21:56:29 +01:00
|
|
|
my_first_export()
|
|
|
|
{
|
2020-06-06 16:01:40 +01:00
|
|
|
return "Hello from my_first_rpl!";
|
2018-05-30 21:56:29 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
int
|
2018-09-30 08:36:43 +01:00
|
|
|
rpl_entry(OSDynLoad_Module module,
|
|
|
|
OSDynLoad_EntryReason reason)
|
2018-05-30 21:56:29 +01:00
|
|
|
{
|
|
|
|
if (reason == OS_DYNLOAD_LOADED) {
|
|
|
|
// Do stuff on load
|
|
|
|
} else if (reason == OS_DYNLOAD_UNLOADED) {
|
|
|
|
// Do stuff on unload
|
|
|
|
}
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|