Fix displaying the error message if the menu is skipped.

This commit is contained in:
Maschell 2022-09-19 17:30:33 +02:00
parent e167a2c4d3
commit 7e04cffa96

View File

@ -46,10 +46,7 @@ void HandleMultiModPacks(uint64_t titleID) {
if (modTitlePath.empty()) {
return;
}
if (modTitlePath.size() == 1 && gSkipPrepareIfSingleModpack) {
ReplaceContent(modTitlePath.begin()->second);
return;
}
int selected = 0;
int initScreen = 1;
@ -78,6 +75,11 @@ void HandleMultiModPacks(uint64_t titleID) {
OSScreenFlipBuffersEx(SCREEN_TV);
OSScreenFlipBuffersEx(SCREEN_DRC);
if (modTitlePath.size() == 1 && gSkipPrepareIfSingleModpack) {
ReplaceContent(modTitlePath.begin()->second);
} else {
uint32_t buttonsTriggered;
VPADStatus vpad_data{};
@ -240,6 +242,7 @@ void HandleMultiModPacks(uint64_t titleID) {
}
KPADShutdown();
}
OSScreenClearBufferEx(SCREEN_TV, 0);
OSScreenClearBufferEx(SCREEN_DRC, 0);