[Enhancement] Add option to hide build details on boot screen (#1948)

This commit is contained in:
Alto1772 2022-11-22 16:42:01 +08:00 committed by GitHub
parent 1ae4e2c1f7
commit 156f713e19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -1539,6 +1539,8 @@ namespace GameMenuBar {
ImGui::Text("Loading :"); ImGui::Text("Loading :");
UIWidgets::EnhancementCombobox("gSaveFileID", FastFileSelect, 5, 0); UIWidgets::EnhancementCombobox("gSaveFileID", FastFileSelect, 5, 0);
}; };
UIWidgets::PaddedEnhancementCheckbox("Hide Build Info", "gHideBuildInfo", true, false);
UIWidgets::Tooltip("Hides the game version and build details in the boot logo start screen");
UIWidgets::PaddedEnhancementCheckbox("Better Debug Warp Screen", "gBetterDebugWarpScreen", true, false); UIWidgets::PaddedEnhancementCheckbox("Better Debug Warp Screen", "gBetterDebugWarpScreen", true, false);
UIWidgets::Tooltip("Optimized debug warp screen, with the added ability to chose entrances and time of day"); UIWidgets::Tooltip("Optimized debug warp screen, with the added ability to chose entrances and time of day");
UIWidgets::PaddedSeparator(); UIWidgets::PaddedSeparator();

View File

@ -246,7 +246,7 @@ void Title_Main(GameState* thisx) {
Title_Calc(this); Title_Calc(this);
Title_Draw(this); Title_Draw(this);
if (1) { if (!CVar_GetS32("gHideBuildInfo", 0)) {
Gfx* gfx = POLY_OPA_DISP; Gfx* gfx = POLY_OPA_DISP;
s32 pad; s32 pad;