Wait for B release before exiting rosalina menu

Closes #1701
This commit is contained in:
TuxSH 2022-03-08 23:42:52 +00:00
parent 8cfc0bc709
commit 8c3ae4a2fe

View File

@ -426,6 +426,8 @@ void menuShow(Menu *root)
}
else if(pressed & KEY_B)
{
while (nbPreviousMenus == 0 && (scanHeldKeys() & KEY_B)); // wait a bit before exiting rosalina
Draw_Lock();
Draw_ClearFramebuffer();
Draw_FlushFramebuffer();