mirror of
https://github.com/devinacker/bsnes-plus.git
synced 2025-04-02 10:52:46 -04:00
note: mirroring detection for cheats doesn't work for two addresses in the same 64kb bank i.e. the lowest 16 bits of both addresses must still be the same
2 lines
140 B
C++
2 lines
140 B
C++
bool Cheat::active() const { return cheat_enabled; }
|
|
bool Cheat::exists(uint16 addr) const { return bitmask[addr >> 3] & 1 << (addr & 7); }
|