Actually create a field for this in DmfModule 💀

master
Ashley N. 2023-08-20 20:03:21 -04:00
parent 73d0f77718
commit 8326f10617
1 changed files with 2 additions and 1 deletions

View File

@ -78,6 +78,7 @@ pub struct DmfModule {
frame_mode: FrameMode, frame_mode: FrameMode,
rows_per_pattern: u32, rows_per_pattern: u32,
pattern_matrix: Vec<Vec<u16>>, pattern_matrix: Vec<Vec<u16>>,
channel_patterns: Vec<Vec<PatternRow>>,
instruments: Vec<Instrument>, instruments: Vec<Instrument>,
samples: Vec<Sample> samples: Vec<Sample>
} }
@ -604,7 +605,7 @@ impl DmfModule {
Ok( Ok(
DmfModule { DmfModule {
platform, version, time_base, speed_a, speed_b, frame_mode, rows_per_pattern, platform, version, time_base, speed_a, speed_b, frame_mode, rows_per_pattern,
pattern_matrix, instruments, samples pattern_matrix, channel_patterns, instruments, samples
} }
) )
} }