mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-07-20 14:01:44 +12:00
Better cheat interface
This commit is contained in:
parent
9ad34dd6c9
commit
eef87da979
4 changed files with 17 additions and 8 deletions
|
@ -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;
|
||||
};
|
|
@ -43,9 +43,6 @@ class Emulator {
|
|||
SDL_GameController* gameController = nullptr;
|
||||
int gameControllerID;
|
||||
|
||||
// Shows whether we've loaded any action replay codes
|
||||
bool haveCheats = false;
|
||||
|
||||
// Variables to keep track of whether the user is controlling the 3DS analog stick with their keyboard
|
||||
// This is done so when a gamepad is connected, we won't automatically override the 3DS analog stick settings with the gamepad's state
|
||||
// And so the user can still use the keyboard to control the analog
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue