mirror of https://github.com/bsnes-emu/bsnes.git
26 lines
334 B
C++
26 lines
334 B
C++
#include <md/md.hpp>
|
|
|
|
namespace MegaDrive {
|
|
|
|
APU apu;
|
|
|
|
auto APU::Enter() -> void {
|
|
while(true) scheduler.synchronize(), apu.main();
|
|
}
|
|
|
|
auto APU::main() -> void {
|
|
step(frequency);
|
|
}
|
|
|
|
auto APU::step(uint clocks) -> void {
|
|
}
|
|
|
|
auto APU::power() -> void {
|
|
}
|
|
|
|
auto APU::reset() -> void {
|
|
create(APU::Enter, system.colorburst());
|
|
}
|
|
|
|
}
|