mirror of
https://github.com/wiiu-env/wiiload_plugin.git
synced 2024-11-22 02:29:15 +01:00
Use latest librpxloader for loading homebrew
This commit is contained in:
parent
2d87a6e982
commit
6189288b5a
@ -1,7 +1,7 @@
|
||||
FROM wiiuenv/devkitppc:20220507
|
||||
FROM wiiuenv/devkitppc:20220806
|
||||
|
||||
COPY --from=wiiuenv/libwupsbackend:20220514 /artifacts $DEVKITPRO
|
||||
COPY --from=wiiuenv/librpxloader:20220422 /artifacts $DEVKITPRO
|
||||
COPY --from=wiiuenv/wiiupluginsystem:20220513 /artifacts $DEVKITPRO
|
||||
COPY --from=wiiuenv/libwupsbackend:20220724 /artifacts $DEVKITPRO
|
||||
COPY --from=wiiuenv/librpxloader:20220825 /artifacts $DEVKITPRO
|
||||
COPY --from=wiiuenv/wiiupluginsystem:20220724 /artifacts $DEVKITPRO
|
||||
|
||||
WORKDIR project
|
@ -16,7 +16,7 @@ TcpReceiver *thread = nullptr;
|
||||
|
||||
INITIALIZE_PLUGIN() {
|
||||
RPXLoaderStatus error;
|
||||
if ((error = RPXLoader_Init()) != RPX_LOADER_RESULT_SUCCESS) {
|
||||
if ((error = RPXLoader_InitLibrary()) != RPX_LOADER_RESULT_SUCCESS) {
|
||||
DEBUG_FUNCTION_LINE_ERR("WiiLoad Plugin: Failed to init RPXLoader. Error %d", error);
|
||||
OSFatal("WiiLoad Plugin: Failed to init RPXLoader.");
|
||||
}
|
||||
|
@ -303,11 +303,8 @@ int32_t TcpReceiver::loadToMemory(int32_t clientSocket, uint32_t ipAddress) {
|
||||
}
|
||||
|
||||
if (loadedRPX) {
|
||||
DEBUG_FUNCTION_LINE("Starting a homebrew title!");
|
||||
RPXLoader_LoadFromSDOnNextLaunch(file_path);
|
||||
RPXLoader_LaunchHomebrew(file_path)
|
||||
|
||||
uint64_t titleID = _SYSGetSystemApplicationTitleId(SYSTEM_APP_ID_HEALTH_AND_SAFETY);
|
||||
_SYSLaunchTitleWithStdArgsInNoSplash(titleID, nullptr);
|
||||
return fileSize;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user