Fix bgi script import bug

This commit is contained in:
2025-08-02 15:52:05 +08:00
parent c0d75473f7
commit 3cfce1906e
2 changed files with 20 additions and 1 deletions

View File

@@ -214,6 +214,12 @@ pub enum BGIStringType {
Internal,
}
impl BGIStringType {
pub fn is_internal(&self) -> bool {
matches!(self, BGIStringType::Internal)
}
}
#[derive(Debug, Clone)]
pub struct BGIString {
pub offset: usize,