mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-07 03:21:38 +12:00
Use message queues
This commit is contained in:
parent
63f54478f0
commit
a473a34794
7 changed files with 266 additions and 269 deletions
|
@ -9,6 +9,8 @@
|
|||
// Forward-declare this since it's just passed and we don't want to include memory.hpp and increase compile time
|
||||
class Memory;
|
||||
|
||||
constexpr u32 badCheatHandle = 0xFFFFFFFF;
|
||||
|
||||
class Cheats {
|
||||
public:
|
||||
enum class CheatType {
|
||||
|
@ -24,6 +26,7 @@ class Cheats {
|
|||
|
||||
Cheats(Memory& mem, HIDService& hid);
|
||||
u32 addCheat(const Cheat& cheat);
|
||||
u32 addCheat(const u8* data, size_t size);
|
||||
void removeCheat(u32 id);
|
||||
void enableCheat(u32 id);
|
||||
void disableCheat(u32 id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue