bsnes/higan/gb/cartridge/mbc1m/mbc1m.hpp

10 lines
198 B
C++

struct MBC1M : MMIO {
auto mmio_read(uint16 addr) -> uint8;
auto mmio_write(uint16 addr, uint8 data) -> void;
auto power() -> void;
uint4 romLo;
uint2 romHi;
uint1 modeSelect;
} mbc1m;