Better cheat interface

This commit is contained in:
wheremyfoodat 2023-07-26 03:27:30 +03:00
parent 9ad34dd6c9
commit eef87da979
4 changed files with 17 additions and 8 deletions

View file

@ -26,7 +26,11 @@ class Cheats {
void reset();
void run();
void clear();
bool haveCheats() const { return cheatsLoaded; }
private:
ActionReplay ar; // An ActionReplay cheat machine for executing CTRPF codes
std::vector<Cheat> cheats;
bool cheatsLoaded = false;
};