From a44a986009a9f1fedbf4ee1db3e58e8f9c8b55e5 Mon Sep 17 00:00:00 2001 From: ashley Date: Mon, 28 Aug 2023 21:55:02 -0400 Subject: [PATCH] First byte of eef being 0x00 is incorrect, actually --- src/reskit/soundtrack/engines/echo/dmf.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reskit/soundtrack/engines/echo/dmf.rs b/src/reskit/soundtrack/engines/echo/dmf.rs index a0d74e1..12c6cde 100644 --- a/src/reskit/soundtrack/engines/echo/dmf.rs +++ b/src/reskit/soundtrack/engines/echo/dmf.rs @@ -189,7 +189,7 @@ impl EchoFormat for DmfModule { } // Now generate the Echo EEF envelope from volume_envelope/volume_repeat + arpeggio_envelope/arpeggio_repeat - let mut envelope: Vec = vec![ 0x00 ]; + let mut envelope: Vec = vec![]; for i in 0..volume_envelope.len() { envelope.push( get_eef_volume( volume_envelope[ i ] )? | get_eef_shift( arpeggio_envelope[ i ] )? ); }