2014-01-13 09:35:46 +00:00
|
|
|
struct Cheat {
|
|
|
|
struct Code {
|
2015-11-21 07:36:48 +00:00
|
|
|
uint addr;
|
|
|
|
uint comp;
|
|
|
|
uint data;
|
2014-01-13 09:35:46 +00:00
|
|
|
};
|
|
|
|
vector<Code> codes;
|
2015-11-21 07:36:48 +00:00
|
|
|
enum : uint { Unused = ~0u };
|
Update to v082r10 release.
byuu says:
Emulated the Game Genie for the NES and Game Boy, and wrote a new cheat
editor that doesn't reach into specific emulation cores so that it would
work.
Before you ask: yes, long-term I'd like Super Game Boy mode to accept
Game Boy codes. But that's not high on the priority list.
Renamed the mappers toward board names, LZ...->BandaiFCG,
LS161...->AOROM, added CNROM emulation (Adventure Island, Gradius, etc.)
Added the tools menu load/save state stuff, but note that the NES
doesn't have save state support yet (waiting for the interface to
stabilize a bit more first.)
Note: this will be the last release to have the ui-gameboy folder, it's
been deleted locally from my end, as the new multi-GUI does all that it
does and more now.
2011-09-15 12:23:13 +00:00
|
|
|
|
2015-11-21 07:36:48 +00:00
|
|
|
alwaysinline auto enable() const -> bool { return codes.size() > 0; }
|
|
|
|
|
|
|
|
auto reset() -> void;
|
|
|
|
auto append(uint addr, uint data) -> void;
|
|
|
|
auto append(uint addr, uint comp, uint data) -> void;
|
|
|
|
auto find(uint addr, uint comp) -> maybe<uint>;
|
Update to v082r10 release.
byuu says:
Emulated the Game Genie for the NES and Game Boy, and wrote a new cheat
editor that doesn't reach into specific emulation cores so that it would
work.
Before you ask: yes, long-term I'd like Super Game Boy mode to accept
Game Boy codes. But that's not high on the priority list.
Renamed the mappers toward board names, LZ...->BandaiFCG,
LS161...->AOROM, added CNROM emulation (Adventure Island, Gradius, etc.)
Added the tools menu load/save state stuff, but note that the NES
doesn't have save state support yet (waiting for the interface to
stabilize a bit more first.)
Note: this will be the last release to have the ui-gameboy folder, it's
been deleted locally from my end, as the new multi-GUI does all that it
does and more now.
2011-09-15 12:23:13 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
extern Cheat cheat;
|