mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-04 14:01:17 +12: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:
parent
c168cf536a
commit
f04c7575d7
7 changed files with 102 additions and 75 deletions
|
@ -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"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue