diff --git a/agb/src/sound/mod.rs b/agb/src/sound/mod.rs index 525ef317..0bd8a9c3 100644 --- a/agb/src/sound/mod.rs +++ b/agb/src/sound/mod.rs @@ -129,7 +129,7 @@ impl SweepSettings { fn as_bits(&self) -> u16 { ((self.number_of_sweep_shifts as u16) & 0b111) - | (self.sound_direction.as_bits() << 3) + | ((1 - self.sound_direction.as_bits()) << 3) // sweep works backwards | ((self.sweep_time as u16) & 0b111) << 4 } }