summaryrefslogtreecommitdiff
path: root/src/port/ui/ImguiUI.cpp
diff options
context:
space:
mode:
authorMegaMech <MegaMech@users.noreply.github.com>2025-01-13 21:15:16 -0700
committerGitHub <noreply@github.com>2025-01-13 21:15:16 -0700
commit04d56d6ba0705776149358608a27db8ab23e9449 (patch)
treeee699599021dde72fb4a2b8eb34792be53ec5ecd /src/port/ui/ImguiUI.cpp
parent389f0f495131928cd620afee41095aff6683c8e9 (diff)
Fixes as per Sonic (#154)
* Fix imGUI game reset button * Fix course select cursor sound oob * Fix cloud rendering * Fix centering of tt race data cannot be saved by ghost * Impl chain chomp & bats * Fix retry crash * DebugMode On Skips intro logo menu * rename
Diffstat (limited to 'src/port/ui/ImguiUI.cpp')
-rw-r--r--src/port/ui/ImguiUI.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/port/ui/ImguiUI.cpp b/src/port/ui/ImguiUI.cpp
index e49aa82aa..9801267ce 100644
--- a/src/port/ui/ImguiUI.cpp
+++ b/src/port/ui/ImguiUI.cpp
@@ -451,7 +451,11 @@ void DrawGameMenu() {
#endif
)) {
gGamestateNext = MAIN_MENU_FROM_QUIT;
- gMenuSelection = START_MENU;
+ if (CVarGetInteger("gEnableDebugMode", 0) == true) {
+ gMenuSelection = START_MENU;
+ } else {
+ gMenuSelection = LOGO_INTRO_MENU;
+ }
}
#if !defined(__SWITCH__) && !defined(__WIIU__)