mirror of
https://github.com/wiiu-env/homebrew_on_menu_plugin.git
synced 2024-11-21 18:19:15 +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/librpxloader:20220724 /artifacts $DEVKITPRO
|
||||
COPY --from=wiiuenv/wiiupluginsystem:20220826 /artifacts $DEVKITPRO
|
||||
COPY --from=wiiuenv/librpxloader:20220825 /artifacts $DEVKITPRO
|
||||
COPY --from=wiiuenv/libsdutils:20220724 /artifacts $DEVKITPRO
|
||||
COPY --from=wiiuenv/libwuhbutils: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.
|
||||
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);
|
||||
OSFatal("Homebrew on Menu Plugin: Failed to init RPXLoader.");
|
||||
}
|
||||
@ -394,15 +394,17 @@ DECL_FUNCTION(int32_t, ACPCheckTitleLaunchByTitleListTypeEx, MCPTitleListType *t
|
||||
|
||||
gHomebrewLaunched = TRUE;
|
||||
|
||||
RPXLoader_LoadFromSDOnNextLaunch(fileInfo.value()->relativeFilepath.c_str());
|
||||
return 0;
|
||||
if (RPXLoader_PrepareLaunchFromSD(fileInfo.value()->relativeFilepath.c_str()) == RPX_LOADER_RESULT_SUCCESS) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
DEBUG_FUNCTION_LINE_ERR("Failed to prepare launch for %s", fileInfo.value()->relativeFilepath.c_str());
|
||||
} else {
|
||||
DEBUG_FUNCTION_LINE_ERR("Failed to get info for titleID %016llX", title->titleId);
|
||||
}
|
||||
}
|
||||
|
||||
int result = real_ACPCheckTitleLaunchByTitleListTypeEx(title, u2);
|
||||
return result;
|
||||
return real_ACPCheckTitleLaunchByTitleListTypeEx(title, u2);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user