bsnes/snes/cheat/cheat-inline.hpp

3 lines
142 B
C++
Raw Normal View History

bool Cheat::active() const { return cheat_enabled; }
bool Cheat::exists(unsigned addr) const { return bitmask[addr >> 3] & 1 << (addr & 7); }