mirror of
https://github.com/wiiu-env/homebrew_on_menu_plugin.git
synced 2024-11-25 11:56:53 +01:00
Fix crashing when trying to load a icon from a .rpx
This commit is contained in:
parent
92ebba3be1
commit
d54d575a6f
@ -347,7 +347,7 @@ DECL_FUNCTION(int32_t, ACPCheckTitleLaunchByTitleListTypeEx, MCPTitleListType *t
|
||||
|
||||
bool iconCached = false;
|
||||
|
||||
if (RL_MountBundle("iconread", bundleFilePath.c_str(), BundleSource_FileDescriptor_CafeOS)) {
|
||||
if (RL_MountBundle("iconread", bundleFilePath.c_str(), BundleSource_FileDescriptor_CafeOS) == 0) {
|
||||
DEBUG_FUNCTION_LINE("Mounted file");
|
||||
uint32_t file_handle = 0;
|
||||
if (RL_FileOpen("iconread:/meta/iconTex.tga", &file_handle) == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user