mirror of https://github.com/bsnes-emu/bsnes.git
23 lines
616 B
C++
23 lines
616 B
C++
struct APU : Processor::Z80, Processor::Z80::Bus, Thread {
|
|
Emulator::Memory::Writable<uint8> ram;
|
|
|
|
//apu.cpp
|
|
static auto Enter() -> void;
|
|
auto main() -> void;
|
|
auto step(uint clocks) -> void override;
|
|
auto synchronizing() const -> bool override;
|
|
auto power() -> void;
|
|
|
|
//memory.cpp
|
|
auto read(uint16 address) -> uint8 override { return 0; }
|
|
auto write(uint16 address, uint8 data) -> void override {}
|
|
|
|
auto in(uint8 address) -> uint8 override { return 0; }
|
|
auto out(uint8 address, uint8 data) -> void override {}
|
|
|
|
//serialization.cpp
|
|
auto serialize(serializer&) -> void;
|
|
};
|
|
|
|
extern APU apu;
|