Skip to content

Commit 3dfb092

Browse files
committed
MenuVars Struct - Remove unused variable
1 parent 45946a9 commit 3dfb092

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

ttyd-tools/rel/include/global.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,6 @@ struct MenuVars
500500
{
501501
bool HideMenu;
502502
bool MenuIsDisplayed;
503-
bool PreventClosingMenu;
504503
bool ChangingCheatButtonCombo;
505504
uint8_t CurrentMenu;
506505
uint8_t CurrentMenuOption;

ttyd-tools/rel/source/menu.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3861,7 +3861,7 @@ void enableOrDisableMenu()
38613861
uint32_t OpenMenuCombo = PAD_L | PAD_START;
38623862
bool tempMenuIsDisplayed = MenuVar.MenuIsDisplayed;
38633863

3864-
if (checkButtonCombo(OpenMenuCombo) && !MenuVar.PreventClosingMenu && !MenuVar.ChangingCheatButtonCombo)
3864+
if (checkButtonCombo(OpenMenuCombo) && !MenuVar.ChangingCheatButtonCombo)
38653865
{
38663866
resetMenuToRoot();
38673867
tempMenuIsDisplayed = !tempMenuIsDisplayed;

0 commit comments

Comments
 (0)