mirror of
https://github.com/XorTroll/uLaunch
synced 2024-11-22 11:53:06 +00:00
Properly handle hbmenu NRO specially
This commit is contained in:
parent
bfb8f5ce25
commit
cb94963701
1 changed files with 2 additions and 0 deletions
|
@ -10,6 +10,8 @@ namespace hb
|
|||
void Target(TargetInput input, bool once)
|
||||
{
|
||||
int ctr = once ? 1 : -1;
|
||||
// If we're loading hbmenu, it makes no sense to load the NRO once (opening a homebrew would terminate it, what literally goes against hbmenu's main functionality)
|
||||
if(strcmp("sdmc:/hbmenu.nro", input.nro_path) == 0) ctr = -1;
|
||||
hb_hbl_Target(input.nro_path, input.argv, ctr);
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue