bsnes/sfc/coprocessor/icd2/icd2.hpp

26 lines
578 B
C++

struct ICD2 : Emulator::Interface::Bind, GameBoy::Interface::Hook, Coprocessor {
static auto Enter() -> void;
auto enter() -> void;
auto init() -> void;
auto load() -> void;
auto unload() -> void;
auto power() -> void;
auto reset() -> void;
auto read(uint addr) -> uint8;
auto write(uint addr, uint8 data) -> void;
auto serialize(serializer&) -> void;
uint revision;
private:
Emulator::Interface::Bind* bind = nullptr;
GameBoy::Interface::Hook* hook = nullptr;
#include "interface/interface.hpp"
#include "mmio/mmio.hpp"
};
extern ICD2 icd2;