Add option to disable all cheats by pressing X in the cheat panel

This commit is contained in:
Gericom
2026-03-07 14:51:58 +01:00
parent 4d9318b0b9
commit 12ebd482d4
3 changed files with 35 additions and 1 deletions

View File

@@ -22,6 +22,7 @@ public:
void ItemActivated();
void Back();
void Close();
void DisableAllCheats();
State GetState() const { return _state; }
const ICheatCategory* GetCurrentCheatCategory() const { return _categoryStack[_categoryStackLevel].cheatCategory; }
@@ -45,4 +46,6 @@ private:
bool _changed = false;
u32 _categoryStackLevel = 0;
std::array<CategoryStackEntry, 8> _categoryStack;
void DisableAllCheats(const ICheatCategory* cheatCategory);
};