bsnes/higan/fc/cheat/cheat.hpp

15 lines
277 B
C++
Raw Normal View History

struct CheatCode {
unsigned addr;
unsigned data;
unsigned comp;
};
struct Cheat : public vector<CheatCode> {
static bool decode(const string &code, unsigned &addr, unsigned &data, unsigned &comp);
void synchronize();
bool override[65536];
};
extern Cheat cheat;