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