#include "Mapper.h" #include "PictureBus.h" namespace sn { class MapperAxROM : public Mapper { public: MapperAxROM(Cartridge &cart, std::function mirroring_cb); void writePRG(Address address, Byte value); Byte readPRG(Address address); Byte readCHR(Address address); void writeCHR(Address address, Byte value); NameTableMirroring getNameTableMirroring(); private: NameTableMirroring m_mirroring; std::function m_mirroringCallback; uint32_t m_prgBank; std::vector m_characterRAM; }; }