Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix Freeboy noise channel playback for srw = 1. #4538
@SecondFlight Sure thing.
If you set up channel 4 with the
However, if you switch the
What would be expected instead is a similar waveform but with a "faster" sounding noise.
The issues arises from the way the APU registers on the GameBoy must be accessed. Writing the enable bit (1000_0000) to
This is what causes the "silent" output above. Moving the output enable write so it occurs after the noise channel registers have all been set up (as in the PR) fixes this issue :)