Actually create a field for this in DmfModule 💀
parent
73d0f77718
commit
8326f10617
|
@ -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
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue