Use WUMS_MODULE_SKIP_WUT_INIT

This commit is contained in:
Maschell 2021-02-19 17:11:50 +01:00
parent 93d7c4a90e
commit 0089ec9f40
3 changed files with 3 additions and 4 deletions

View File

@ -2,6 +2,6 @@ FROM wiiuenv/devkitppc:20210101
COPY --from=wiiuenv/libkernel:20210109 /artifacts $DEVKITPRO
COPY --from=wiiuenv/libfunctionpatcher:20210109 /artifacts $DEVKITPRO
COPY --from=wiiuenv/wiiumodulesystem:20210101 /artifacts $DEVKITPRO
COPY --from=wiiuenv/wiiumodulesystem:20210219 /artifacts $DEVKITPRO
WORKDIR project

View File

@ -11,8 +11,6 @@ DECL_FUNCTION(int32_t, KiEffectiveToPhysical, uint32_t addressSpace, uint32_t vi
return result;
}
DECL_FUNCTION(int32_t, sCheckDataRange, uint32_t address, uint32_t maxDataSize) {
if((address & 0xF0000000) == 0x80000000){
return 1;

View File

@ -12,9 +12,10 @@
WUMS_MODULE_EXPORT_NAME("homebrew_memorymapping");
WUMS_MODULE_SKIP_ENTRYPOINT();
WUMS_MODULE_SKIP_WUT_INIT();
WUMS_MODULE_INIT_BEFORE_RELOCATION_DONE_HOOK();
WUMS_INITIALIZE() {
WUMS_INITIALIZE(args) {
WHBLogUdpInit();
DEBUG_FUNCTION_LINE("Setting up memory mapping!");
static uint8_t ucSetupRequired = 1;