mirror of
https://github.com/wiiu-env/RPXLoadingModule.git
synced 2024-11-22 01:49:15 +01:00
Use latest libfunctionpatcher version
This commit is contained in:
parent
58fbfc270b
commit
c4050b3090
@ -1,8 +1,8 @@
|
||||
FROM wiiuenv/devkitppc:20220417
|
||||
FROM wiiuenv/devkitppc:20220507
|
||||
|
||||
COPY --from=wiiuenv/librpxloader:20220417 /artifacts $DEVKITPRO
|
||||
COPY --from=wiiuenv/libfunctionpatcher:20220211 /artifacts $DEVKITPRO
|
||||
COPY --from=wiiuenv/wiiumodulesystem:20220204 /artifacts $DEVKITPRO
|
||||
COPY --from=wiiuenv/libfunctionpatcher:20220507 /artifacts $DEVKITPRO
|
||||
COPY --from=wiiuenv/wiiumodulesystem:20220507 /artifacts $DEVKITPRO
|
||||
COPY --from=wiiuenv/libwuhbutils:20220415 /artifacts $DEVKITPRO
|
||||
COPY --from=wiiuenv/libcontentredirection:20220414 /artifacts $DEVKITPRO
|
||||
COPY --from=wiiuenv/libromfs_wiiu:20220414 /artifacts $DEVKITPRO
|
||||
|
@ -23,8 +23,11 @@ extern "C" bool WUU_GetVersion();
|
||||
WUMS_INITIALIZE() {
|
||||
initLogging();
|
||||
DEBUG_FUNCTION_LINE("Patch functions");
|
||||
// we only patch static functions, we don't need re-patch them at every launch
|
||||
FunctionPatcherPatchFunction(rpx_utils_function_replacements, rpx_utils_function_replacements_size);
|
||||
for (uint32_t i = 0; i < rpx_utils_function_replacements_size; i++) {
|
||||
if (!FunctionPatcherPatchFunction(&rpx_utils_function_replacements[i], nullptr)) {
|
||||
OSFatal("homebrew_rpx_loader: Failed to patch function");
|
||||
}
|
||||
}
|
||||
DEBUG_FUNCTION_LINE("Patch functions finished");
|
||||
gReplacementInfo = {};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user