mirror of
https://github.com/wiiu-env/MemoryMappingModule.git
synced 2024-11-22 09:49:20 +01:00
Use WUMS_MODULE_SKIP_WUT_INIT
This commit is contained in:
parent
93d7c4a90e
commit
0089ec9f40
@ -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
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user