Fix launching the HBL from Browser when opening the Autoboot Menu

This commit is contained in:
Maschell 2021-12-30 15:23:32 +01:00
parent fba70ac149
commit 926aadb464

View File

@ -352,7 +352,11 @@ int32_t handleMenuScreen(int32_t autobootOptionInput) {
DrawUtils::deinitFont();
OSScreenShutdown();
if (OSGetTitleID() == _SYSGetSystemApplicationTitleId(SYSTEM_APP_ID_MII_MAKER) && autoboot == BOOT_OPTION_HOMEBREW_LAUNCHER) {
// When we're already in the Mii Maker and we want to launch the HBL, "OSScreenShutdown" will cause a black screen.
} else {
OSScreenShutdown();
}
free(screenBuffer);