mirror of
https://github.com/rodamaral/lsnes.git
synced 2025-04-02 10:42:15 -04:00
14 lines
284 B
C++
Executable file
14 lines
284 B
C++
Executable file
struct CheatCode {
|
|
unsigned addr;
|
|
unsigned data;
|
|
unsigned comp;
|
|
};
|
|
|
|
struct Cheat : public linear_vector<CheatCode> {
|
|
static bool decode(const string &code, unsigned &addr, unsigned &data, unsigned &comp);
|
|
|
|
void synchronize();
|
|
bool override[65536];
|
|
};
|
|
|
|
extern Cheat cheat;
|