Add support to detect BGI sysgrp image

This commit is contained in:
2025-06-14 13:11:29 +08:00
parent c1269bdd3c
commit 1e70036d47
2 changed files with 34 additions and 1 deletions

View File

@@ -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
}