mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-08-15 13:19:03 -04:00
17 lines
776 B
C
17 lines
776 B
C
#include <stdbool.h>
|
|
#include <libultraship/bridge/consolevariablebridge.h>
|
|
#include "bootcommands.h"
|
|
#include "soh/cvar_prefixes.h"
|
|
|
|
void BootCommands_Init() {
|
|
// Clears vars to prevent randomizer menu from being disabled
|
|
CVarClear(CVAR_GENERAL("RandoGenerating")); // Clear when a crash happened during rando seed generation
|
|
CVarClear(CVAR_GENERAL("NewSeedGenerated"));
|
|
CVarClear(CVAR_GENERAL("OnFileSelectNameEntry")); // Clear when soh is killed on the file name entry page
|
|
CVarClear(CVAR_GENERAL("BetterDebugWarpScreenMQMode"));
|
|
CVarClear(CVAR_GENERAL("BetterDebugWarpScreenMQModeScene"));
|
|
#if defined(__SWITCH__) || defined(__WIIU__)
|
|
CVarRegisterInteger(CVAR_IMGUI_CONTROLLER_NAV, 1); // always enable controller nav on switch/wii u
|
|
#endif
|
|
}
|