diff --git a/src/main.rs b/src/main.rs index a5c6b5d..a365ae0 100644 --- a/src/main.rs +++ b/src/main.rs @@ -315,6 +315,7 @@ impl Lsdpack { } NextBank => { /* lol */ } AmpDecPu0 => { + // https://github.com/LIJI32/SameBoy/blob/27b5935b8d0e0af988bcac8e55e92703af24f335/Core/apu.c#L341 let base = TONE1_PATTERN.read(); TONE1_PATTERN.write( base.with_volume(0) @@ -436,6 +437,12 @@ extern "C" fn main() -> ! { .with_enabled(true), ); + SOUNDBIAS.write( + SoundBias::new() + .with_bias_level(0x100) + .with_sample_cycle(SampleCycle::_6bit), + ); + unsafe { LSDJ_SONGS.play_song(0); }