mirror of
https://github.com/DerKoun/bsnes-hd.git
synced 2025-04-02 10:52:49 -04:00
13 lines
276 B
C++
13 lines
276 B
C++
struct MBC1M : Mapper {
|
|
auto read(uint16 address) -> uint8;
|
|
auto write(uint16 address, uint8 data) -> void;
|
|
auto power() -> void;
|
|
auto serialize(serializer&) -> void;
|
|
|
|
struct IO {
|
|
uint1 mode;
|
|
struct ROM {
|
|
uint6 bank = 0x01;
|
|
} rom;
|
|
} io;
|
|
} mbc1m;
|