lsnes/gameboy/cartridge/mbc2/mbc2.hpp
2013-05-03 17:47:34 +03:00

8 lines
190 B
C++
Executable file

struct MBC2 : MMIO {
bool ram_enable; //$0000-1fff
uint8 rom_select; //$2000-3fff
uint8 mmio_read(uint16 addr);
void mmio_write(uint16 addr, uint8 data);
void power();
} mbc2;