mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-22 06:13:45 -07:00
clang-formated
This commit is contained in:
parent
46985bccc7
commit
8a8a6cdd04
3 changed files with 7 additions and 5 deletions
|
@ -183,7 +183,8 @@ void OnZTitleInitReplaceTitleMainWithCustom(void* gameState) {
|
|||
void OnZTitleUpdatePressButtonToSkip(void* gameState) {
|
||||
TitleContext* titleContext = (TitleContext*)gameState;
|
||||
|
||||
if ((CVarGetInteger(CVAR_DEVELOPER_TOOLS("DebugEnabled"), 0) != 0) && (CVarGetInteger(CVAR_DEVELOPER_TOOLS("BootToDebugWarpScreen"), 0) != 0)) {
|
||||
if ((CVarGetInteger(CVAR_DEVELOPER_TOOLS("DebugEnabled"), 0) != 0) &&
|
||||
(CVarGetInteger(CVAR_DEVELOPER_TOOLS("BootToDebugWarpScreen"), 0) != 0)) {
|
||||
// Boot to Debug Warp Screen
|
||||
gSaveContext.seqId = (u8)NA_BGM_DISABLED;
|
||||
gSaveContext.natureAmbienceId = 0xFF;
|
||||
|
|
|
@ -24,8 +24,8 @@ void SohMenu::AddMenuDevTools() {
|
|||
AddWidget(path, "Boot To Debug Warp Screen", WIDGET_CVAR_CHECKBOX)
|
||||
.CVar(CVAR_DEVELOPER_TOOLS("BootToDebugWarpScreen"))
|
||||
.PreFunc([](WidgetInfo& info) { info.isHidden = !CVarGetInteger(CVAR_DEVELOPER_TOOLS("DebugEnabled"), 0); })
|
||||
.Options(CheckboxOptions()
|
||||
.Tooltip("Automatically shows Debug Warp Screen when starting or resetting the game.\n"
|
||||
.Options(
|
||||
CheckboxOptions().Tooltip("Automatically shows Debug Warp Screen when starting or resetting the game.\n"
|
||||
"This option takes precedence over \"Boot Sequence\" option."));
|
||||
AddWidget(path, "OoT Registry Editor", WIDGET_CVAR_CHECKBOX)
|
||||
.CVar(CVAR_DEVELOPER_TOOLS("RegEditEnabled"))
|
||||
|
|
|
@ -3589,7 +3589,8 @@ void FileChoose_Main(GameState* thisx) {
|
|||
}
|
||||
|
||||
// Boot to Debug Warp Screen
|
||||
if ((CVarGetInteger(CVAR_DEVELOPER_TOOLS("DebugEnabled"), 0) != 0) && (CVarGetInteger(CVAR_DEVELOPER_TOOLS("BootToDebugWarpScreen"), 0) != 0)) {
|
||||
if ((CVarGetInteger(CVAR_DEVELOPER_TOOLS("DebugEnabled"), 0) != 0) &&
|
||||
(CVarGetInteger(CVAR_DEVELOPER_TOOLS("BootToDebugWarpScreen"), 0) != 0)) {
|
||||
this->buttonIndex = 0xFF;
|
||||
this->menuMode = FS_MENU_MODE_SELECT;
|
||||
this->selectMode = SM_LOAD_GAME;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue