mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-05-10 22:15:06 +12:00
[Cheats] Add boilerplate
This commit is contained in:
parent
5b4f6ef46c
commit
0904638df0
5 changed files with 42 additions and 2 deletions
include
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue