mirror of
https://github.com/izzy2lost/WeeU.git
synced 2026-07-06 00:19:59 -07:00
coreinit: Handle non-existing modules in OSDynLoad_Acquire
Fixes Togabito crashing on boot coreinit: Handle non-existing modules in OSDynLoad_Acquire
This commit is contained in:
@@ -165,7 +165,7 @@ void LoadMainExecutable()
|
||||
{
|
||||
// RPX
|
||||
RPLLoader_AddDependency(_pathToExecutable.c_str());
|
||||
applicationRPX = rpl_loadFromMem(rpxData, rpxSize, (char*)_pathToExecutable.c_str());
|
||||
applicationRPX = RPLLoader_LoadFromMemory(rpxData, rpxSize, (char*)_pathToExecutable.c_str());
|
||||
if (!applicationRPX)
|
||||
{
|
||||
wxMessageBox(_("Failed to run this title because the executable is damaged"));
|
||||
|
||||
Reference in New Issue
Block a user