Add restart to prelaunch button to settings, remove gamemodeStub functions

This commit is contained in:
jdflyer
2026-07-26 00:25:59 -07:00
parent 9c2e0e9331
commit f22bfcd9ba
11 changed files with 77 additions and 24 deletions
+4 -1
View File
@@ -95,7 +95,10 @@ MenuBar::MenuBar()
dismiss(modal);
return;
}
prelaunch_state().showPrelaunchOnReset = true;
if (gamemode::getGamemodeManager().getRegisteredGamemodes().size() > 1) {
// If we have gamemodes registered, show pre-launch on a menubar reset
prelaunch_state().showPrelaunchOnReset = true;
}
JUTGamePad::C3ButtonReset::sResetSwitchPushing = true;
dismiss(modal);
Document::hide(true);