6bit soundbias
This commit is contained in:
parent
98ccf0b5e9
commit
2a45bd6e10
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue