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

View File

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