Rosalina: fix freeze when attempting to open Rosalina before the system finished to boot
This commit is contained in:
parent
11f820efa7
commit
7cb74b74d7
@ -148,15 +148,24 @@ void menuThreadMain(void)
|
||||
else
|
||||
N3DSMenu_UpdateStatus();
|
||||
|
||||
bool isAcURegistered = false;
|
||||
|
||||
while(!terminationRequest)
|
||||
{
|
||||
if((HID_PAD & menuCombo) == menuCombo)
|
||||
{
|
||||
if (!isAcURegistered)
|
||||
isAcURegistered = R_SUCCEEDED(srvIsServiceRegistered(&isAcURegistered, "ac:u"))
|
||||
&& isAcURegistered;
|
||||
|
||||
if (isAcURegistered)
|
||||
{
|
||||
menuEnter();
|
||||
if(isN3DS) N3DSMenu_UpdateStatus();
|
||||
menuShow(&rosalinaMenu);
|
||||
menuLeave();
|
||||
}
|
||||
}
|
||||
svcSleepThread(50 * 1000 * 1000LL);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user