Never call OSScreenShutdown when running in Mii Maker

This commit is contained in:
Maschell 2021-12-30 16:11:41 +01:00
parent 926aadb464
commit 934ec23a66
1 changed files with 2 additions and 2 deletions

View File

@ -352,8 +352,8 @@ int32_t handleMenuScreen(int32_t autobootOptionInput) {
DrawUtils::deinitFont();
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.
if (OSGetTitleID() == _SYSGetSystemApplicationTitleId(SYSTEM_APP_ID_MII_MAKER)) {
// When we're in the Mii Maker "OSScreenShutdown" will cause a black screen.
} else {
OSScreenShutdown();
}