mirror of
https://github.com/lifegpc/msg-tool.git
synced 2026-07-08 01:31:53 +08:00
Add support to detect BGI sysgrp image
This commit is contained in:
@@ -97,7 +97,7 @@ impl ScriptBuilder for BgiArchiveBuilder {
|
||||
|
||||
fn is_this_format(&self, _filename: &str, buf: &[u8], buf_len: usize) -> Option<u8> {
|
||||
if buf_len >= 12 && buf.starts_with(b"PackFile ") {
|
||||
return Some(1);
|
||||
return Some(10);
|
||||
}
|
||||
None
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user