Switch to APT_ResetHardwareAsync() for reboot (Closes #831)
This commit is contained in:
@@ -106,8 +106,10 @@ void RosalinaMenu_Reboot(void)
|
||||
u32 pressed = waitInputWithTimeout(1000);
|
||||
|
||||
if(pressed & BUTTON_A)
|
||||
svcKernelSetState(7);
|
||||
else if(pressed & BUTTON_B)
|
||||
{
|
||||
APT_HardwareResetAsync();
|
||||
menuLeave();
|
||||
} else if(pressed & BUTTON_B)
|
||||
return;
|
||||
}
|
||||
while(!terminationRequest);
|
||||
|
||||
Reference in New Issue
Block a user