mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-07 03:21:38 +12:00
[ActionReplay] Add HID stuff
This commit is contained in:
parent
d007b2d780
commit
4a45599303
5 changed files with 24 additions and 6 deletions
|
@ -4,6 +4,7 @@
|
|||
|
||||
#include "action_replay.hpp"
|
||||
#include "helpers.hpp"
|
||||
#include "services/hid.hpp"
|
||||
|
||||
// Forward-declare this since it's just passed and we don't want to include memory.hpp and increase compile time
|
||||
class Memory;
|
||||
|
@ -20,12 +21,12 @@ class Cheats {
|
|||
std::vector<u32> instructions;
|
||||
};
|
||||
|
||||
Cheats(Memory& mem);
|
||||
Cheats(Memory& mem, HIDService& hid);
|
||||
void addCheat(const Cheat& cheat);
|
||||
void reset();
|
||||
void run();
|
||||
|
||||
private:
|
||||
ActionReplay ar; // An ActionReplay cheat machine for executing CTRPF codes
|
||||
ActionReplay ar; // An ActionReplay cheat machine for executing CTRPF codes
|
||||
std::vector<Cheat> cheats;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue