bsnes-classic/bsnes/snes/cheat/cheat-inline.hpp

2 lines
142 B
C++

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