mirror of
https://github.com/lifegpc/msg-tool.git
synced 2026-07-08 01:31:53 +08:00
Add support to export multiple images
This commit is contained in:
@@ -107,7 +107,11 @@ impl ScriptBuilder for CSIntArcBuilder {
|
||||
}
|
||||
}
|
||||
|
||||
fn detect_script_type(_buf: &[u8], _buf_len: usize, _filename: &str) -> Option<&'static ScriptType> {
|
||||
fn detect_script_type(
|
||||
_buf: &[u8],
|
||||
_buf_len: usize,
|
||||
_filename: &str,
|
||||
) -> Option<&'static ScriptType> {
|
||||
#[cfg(feature = "cat-system-img")]
|
||||
if _buf_len >= 4 && _buf.starts_with(b"HG-3") {
|
||||
return Some(&ScriptType::CatSystemHg3);
|
||||
|
||||
Reference in New Issue
Block a user