mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-07-26 08:40:16 +12:00
Get our first AR code running
This commit is contained in:
parent
ae69c8f8c4
commit
97f8ea6cfd
6 changed files with 110 additions and 23 deletions
include
|
@ -5,6 +5,9 @@
|
|||
#include "action_replay.hpp"
|
||||
#include "helpers.hpp"
|
||||
|
||||
// Forward-declare this since it's just passed and we don't want to include memory.hpp and increase compile time
|
||||
class Memory;
|
||||
|
||||
class Cheats {
|
||||
public:
|
||||
enum class CheatType {
|
||||
|
@ -17,10 +20,10 @@ class Cheats {
|
|||
std::vector<u32> instructions;
|
||||
};
|
||||
|
||||
Cheats();
|
||||
Cheats(Memory& mem);
|
||||
void addCheat(const Cheat& cheat);
|
||||
void runCheats();
|
||||
void reset();
|
||||
void run();
|
||||
|
||||
private:
|
||||
ActionReplay ar; // An ActionReplay cheat machine for executing CTRPF codes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue