bsnes/higan/gb/cartridge/huc1/huc1.hpp

15 lines
257 B
C++
Raw Normal View History

struct HuC1 : MMIO {
auto readIO(uint16 addr) -> uint8;
auto writeIO(uint16 addr, uint8 data) -> void;
auto power() -> void;
struct ROM {
uint8 select;
} rom;
struct RAM {
bool writable;
uint8 select;
} ram;
bool model;
} huc1;