summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Bird <Archez@users.noreply.github.com>2023-01-26 20:09:33 -0500
committerGitHub <noreply@github.com>2023-01-26 20:09:33 -0500
commit1e2b60c6e0e5fa92f66858a5f3f94ffc352b13fe (patch)
tree844e58116ef2a4381bef61fed23aacec09880e96
parent279553e6b34b3f840590015d3ad70f88da0ef4b5 (diff)
clear cvars that lock up randomizer menu on boot (#2405)
-rw-r--r--soh/soh/Enhancements/bootcommands.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/soh/soh/Enhancements/bootcommands.c b/soh/soh/Enhancements/bootcommands.c
index 4c428731e..679e61488 100644
--- a/soh/soh/Enhancements/bootcommands.c
+++ b/soh/soh/Enhancements/bootcommands.c
@@ -24,7 +24,9 @@ void BootCommands_Init()
CVarRegisterInteger("gLanguages", LANGUAGE_ENG);
CVarRegisterInteger("gDebugWarpScreenTranslation", 1);
CVarRegisterInteger("gInvertYAxis", 1);
+ // Clears vars to prevent randomizer menu from being disabled
CVarSetInteger("gRandoGenerating", 0); // Clear when a crash happened during rando seed generation
+ CVarSetInteger("gOnFileSelectNameEntry", 0); // Clear when soh is killed on the file name entry page
#if defined(__SWITCH__) || defined(__WIIU__)
CVarRegisterInteger("gControlNav", 1); // always enable controller nav on switch/wii u
#endif