mirror of
https://github.com/lifegpc/msg-tool.git
synced 2026-06-07 13:28:47 +08:00
Add m3t support
This commit is contained in:
@@ -311,10 +311,7 @@ impl Script for CircusMesScript {
|
||||
self.asm_bin_offset + token.offset + token.length,
|
||||
self.data.len(),
|
||||
);
|
||||
buffer.extend_from_slice(
|
||||
&self.data[self.asm_bin_offset + token.offset
|
||||
..len]
|
||||
);
|
||||
buffer.extend_from_slice(&self.data[self.asm_bin_offset + token.offset..len]);
|
||||
}
|
||||
let mut f = crate::utils::files::write_file(filename)?;
|
||||
f.write_all(&buffer)?;
|
||||
|
||||
Reference in New Issue
Block a user