diff --git a/src/reskit/soundtrack/formats/dmf.rs b/src/reskit/soundtrack/formats/dmf.rs index 1554626..8f7fec1 100644 --- a/src/reskit/soundtrack/formats/dmf.rs +++ b/src/reskit/soundtrack/formats/dmf.rs @@ -958,7 +958,7 @@ impl EchoFormat for DmfModule { } fn get_eef_volume( dmf_volume: u8 ) -> Result> { - Ok( min( dmf_volume, 0x0F ) ) + Ok( min( 0x0F - dmf_volume, 0x0F ) ) } fn get_eef_shift( dmf_shift: i8 ) -> Result> {