mirror of
https://github.com/wiiu-env/homebrew_on_menu_plugin.git
synced 2024-11-22 10:39:16 +01:00
Use latest librpxloader version
This commit is contained in:
parent
940b8e82dc
commit
9b0fcdf473
@ -1,7 +1,7 @@
|
|||||||
FROM wiiuenv/devkitppc:20220724
|
FROM wiiuenv/devkitppc:20220806
|
||||||
|
|
||||||
COPY --from=wiiuenv/wiiupluginsystem:20220724 /artifacts $DEVKITPRO
|
COPY --from=wiiuenv/wiiupluginsystem:20220826 /artifacts $DEVKITPRO
|
||||||
COPY --from=wiiuenv/librpxloader:20220724 /artifacts $DEVKITPRO
|
COPY --from=wiiuenv/librpxloader:20220825 /artifacts $DEVKITPRO
|
||||||
COPY --from=wiiuenv/libsdutils:20220724 /artifacts $DEVKITPRO
|
COPY --from=wiiuenv/libsdutils:20220724 /artifacts $DEVKITPRO
|
||||||
COPY --from=wiiuenv/libwuhbutils:20220724 /artifacts $DEVKITPRO
|
COPY --from=wiiuenv/libwuhbutils:20220724 /artifacts $DEVKITPRO
|
||||||
COPY --from=wiiuenv/libcontentredirection:20220724 /artifacts $DEVKITPRO
|
COPY --from=wiiuenv/libcontentredirection:20220724 /artifacts $DEVKITPRO
|
||||||
|
12
src/main.cpp
12
src/main.cpp
@ -78,7 +78,7 @@ INITIALIZE_PLUGIN() {
|
|||||||
|
|
||||||
// Use librpxloader.
|
// Use librpxloader.
|
||||||
RPXLoaderStatus error3;
|
RPXLoaderStatus error3;
|
||||||
if ((error3 = RPXLoader_Init()) != RPX_LOADER_RESULT_SUCCESS) {
|
if ((error3 = RPXLoader_InitLibrary()) != RPX_LOADER_RESULT_SUCCESS) {
|
||||||
DEBUG_FUNCTION_LINE_ERR("Homebrew on Menu Plugin: Failed to init RPXLoader. Error %d", error3);
|
DEBUG_FUNCTION_LINE_ERR("Homebrew on Menu Plugin: Failed to init RPXLoader. Error %d", error3);
|
||||||
OSFatal("Homebrew on Menu Plugin: Failed to init RPXLoader.");
|
OSFatal("Homebrew on Menu Plugin: Failed to init RPXLoader.");
|
||||||
}
|
}
|
||||||
@ -394,15 +394,17 @@ DECL_FUNCTION(int32_t, ACPCheckTitleLaunchByTitleListTypeEx, MCPTitleListType *t
|
|||||||
|
|
||||||
gHomebrewLaunched = TRUE;
|
gHomebrewLaunched = TRUE;
|
||||||
|
|
||||||
RPXLoader_LoadFromSDOnNextLaunch(fileInfo.value()->relativeFilepath.c_str());
|
if (RPXLoader_PrepareLaunchFromSD(fileInfo.value()->relativeFilepath.c_str()) == RPX_LOADER_RESULT_SUCCESS) {
|
||||||
return 0;
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
DEBUG_FUNCTION_LINE_ERR("Failed to prepare launch for %s", fileInfo.value()->relativeFilepath.c_str());
|
||||||
} else {
|
} else {
|
||||||
DEBUG_FUNCTION_LINE_ERR("Failed to get info for titleID %016llX", title->titleId);
|
DEBUG_FUNCTION_LINE_ERR("Failed to get info for titleID %016llX", title->titleId);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
int result = real_ACPCheckTitleLaunchByTitleListTypeEx(title, u2);
|
return real_ACPCheckTitleLaunchByTitleListTypeEx(title, u2);
|
||||||
return result;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user