diff --git a/ctru-rs/src/services/ndsp/wave.rs b/ctru-rs/src/services/ndsp/wave.rs index 8c34dc6..cf12e57 100644 --- a/ctru-rs/src/services/ndsp/wave.rs +++ b/ctru-rs/src/services/ndsp/wave.rs @@ -84,7 +84,7 @@ impl<'b> WaveInfo<'b> { } pub fn get_mut_wavebuffer(&mut self) -> &mut WaveBuffer { - &mut self.buffer + self.buffer } pub fn get_status(&self) -> WaveStatus {