feat: implement Noise

Kirby & The Amazing Mirror crashes only in ReleaseSafe / ReleaseBug.

TODO: Figure out why
This commit is contained in:
2022-04-21 02:40:02 -03:00
parent 2f07c18f0b
commit 85e8ca9146
3 changed files with 183 additions and 17 deletions

View File

@@ -56,7 +56,7 @@ pub const Scheduler = struct {
0 => cpu.bus.apu.ch1.channelTimerOverflow(late),
1 => cpu.bus.apu.ch2.channelTimerOverflow(late),
2 => cpu.bus.apu.ch3.channelTimerOverflow(late),
else => {},
3 => cpu.bus.apu.ch4.channelTimerOverflow(late),
}
},
.FrameSequencer => cpu.bus.apu.tickFrameSequencer(late),