aboutsummaryrefslogtreecommitdiff
path: root/lib/xixanta/src/opcodes.rs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/xixanta/src/opcodes.rs')
-rw-r--r--lib/xixanta/src/opcodes.rs20
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/xixanta/src/opcodes.rs b/lib/xixanta/src/opcodes.rs
index 25b3add..bc4f1d4 100644
--- a/lib/xixanta/src/opcodes.rs
+++ b/lib/xixanta/src/opcodes.rs
@@ -1860,6 +1860,26 @@ pub static CONTROL_FUNCTIONS: LazyLock<HashMap<String, Control>> = LazyLock::new
},
);
functions.insert(
+ String::from(".max"),
+ Control {
+ control_type: ControlType::Max,
+ has_identifier: None,
+ required_args: None,
+ touches_context: false,
+ only_string: false,
+ },
+ );
+ functions.insert(
+ String::from(".min"),
+ Control {
+ control_type: ControlType::Min,
+ has_identifier: None,
+ required_args: None,
+ touches_context: false,
+ only_string: false,
+ },
+ );
+ functions.insert(
String::from(".incbin"),
Control {
control_type: ControlType::IncBin,