Go to file
2020-12-26 15:53:23 +01:00
.github/workflows Add Github action workflows for CI 2020-08-13 20:45:32 +02:00
source Rename WUMS_MODULE_INIT_BEFORE_ENTRYPOINT => WUMS_MODULE_INIT_BEFORE_RELOCATION_DONE_HOOK, add WUMS_MODULE_SKIP_ENTRYPOINT 2020-12-26 15:53:23 +01:00
.gitignore first commit 2020-06-10 16:27:42 +02:00
Dockerfile [Docker] Use latest devkitPPC and lib versions 2020-08-13 20:45:21 +02:00
LICENSE first commit 2020-06-10 16:27:42 +02:00
Makefile first commit 2020-06-10 16:27:42 +02:00
README.md Add a Dockerfile 2020-06-27 12:41:59 +02:00

PatchMemoryRelocationsModule

Replaces the usage of MEMAllocFromDefaultHeap, MEMAllocFromDefaultHeapEx and MEMFreeToDefaultHeap with similar function from the MemoryMappingModule in the currently running modules.

Usage

Run this module via SetupPayload, requires the MemoryMappingModule to be running at the same time.

Building using the Dockerfile

It's possible to use a docker image for building. This way you don't need anything installed on your host system.

# Build docker image (only needed once)
docker build . -t patchmemoryrelocationsmodule-builder

# make 
docker run -it --rm -v ${PWD}:/project patchmemoryrelocationsmodule-builder make

# make clean
docker run -it --rm -v ${PWD}:/project patchmemoryrelocationsmodule-builder make clean

Dependencies: