Add/Restore the option to automatically boot into Debug Warp Screen (#5485)

* Added/Restored the option to automatically boot into Debug Warp Screen

* clang-formated

* Added a new hook and moved Boot To Debug Warp Screen to it

* clang

* Added DebugEnabled to initFunc's CVar list. This should prevent Debug Warp from being triggered when Boot to Debug Warp option is enabled but Debug Mode option is disabled.

* No longer hijacks CustomLogoTitle

* Disable "Boot Sequence" dropdown when Boot to Debug Warp Screen is enabled
This commit is contained in:
nclok1405
2025-06-20 05:39:03 +09:00
committed by GitHub
parent c0ea595fa5
commit 4f95ab3f46
9 changed files with 73 additions and 0 deletions

View File

@@ -3565,6 +3565,9 @@ void FileChoose_Main(GameState* thisx) {
Input* input = &this->state.input[0];
Color_RGB8 helpTextColor = { 100, 255, 255 };
GameInteractor_ExecuteOnFileChooseMain(thisx);
if (CVarGetInteger(CVAR_COSMETIC("Title.FileChoose.Changed"), 0)) {
Color_RGB8 backgroundColor =
CVarGetColor24(CVAR_COSMETIC("Title.FileChoose.Value"), (Color_RGB8){ 100, 150, 255 });