[Cheats] Add boilerplate
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
#include <optional>
|
||||
|
||||
#include "PICA/gpu.hpp"
|
||||
#include "cheats.hpp"
|
||||
#include "config.hpp"
|
||||
#include "cpu.hpp"
|
||||
#include "crypto/aes_engine.hpp"
|
||||
@@ -31,6 +32,7 @@ class Emulator {
|
||||
Memory memory;
|
||||
Kernel kernel;
|
||||
Crypto::AESEngine aesEngine;
|
||||
ActionReplay cheats;
|
||||
|
||||
SDL_Window* window;
|
||||
|
||||
@@ -41,6 +43,9 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user