From 025e18e7e5bb5c432d23a970ff7ca8e071c131b8 Mon Sep 17 00:00:00 2001 From: Adam Bird Date: Wed, 7 Dec 2022 18:17:05 -0500 Subject: [PATCH] clear the rando generating cvar on launch to prevent softlocking generating a new seed (#2109) --- soh/soh/Enhancements/bootcommands.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/soh/soh/Enhancements/bootcommands.c b/soh/soh/Enhancements/bootcommands.c index 781060b4a..5b648ab8e 100644 --- a/soh/soh/Enhancements/bootcommands.c +++ b/soh/soh/Enhancements/bootcommands.c @@ -25,8 +25,9 @@ void BootCommands_Init() CVar_RegisterS32("gDebugEnabled", 0); CVar_RegisterS32("gLanguages", LANGUAGE_ENG); CVar_RegisterS32("gHudColors", 0); //0 = N64 / 1 = NGC / 2 = Custom - CVar_RegisterS32("gInvertYAxis", 1); + CVar_RegisterS32("gInvertYAxis", 1); CVar_RegisterS32("gTrailDuration", 4); // 4 = Default trail duration + CVar_SetS32("gRandoGenerating", 0); // Clear when a crash happened during rando seed generation #if defined(__SWITCH__) || defined(__WIIU__) CVar_RegisterS32("gControlNav", 1); // always enable controller nav on switch/wii u #endif