mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-03 12:27:21 +12:00
Remove global definition of badCheatHandle
This commit is contained in:
parent
31eea40ea5
commit
01b6380242
4 changed files with 19 additions and 23 deletions
|
@ -9,8 +9,6 @@
|
|||
// 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 {
|
||||
|
@ -35,6 +33,7 @@ class Cheats {
|
|||
|
||||
void clear();
|
||||
bool haveCheats() const { return cheatsLoaded; }
|
||||
static constexpr u32 badCheatHandle = 0xFFFFFFFF;
|
||||
|
||||
private:
|
||||
ActionReplay ar; // An ActionReplay cheat machine for executing CTRPF codes
|
||||
|
|
|
@ -18,8 +18,7 @@
|
|||
#include "panda_qt/text_editor.hpp"
|
||||
#include "services/hid.hpp"
|
||||
|
||||
struct CheatMessage
|
||||
{
|
||||
struct CheatMessage {
|
||||
u32 handle;
|
||||
std::vector<uint8_t> cheat;
|
||||
std::function<void(u32)> callback;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue