aboutsummaryrefslogtreecommitdiff
path: root/lib/xixanta/src/node.rs
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mikisabate@gmail.com>2024-12-19 09:59:34 +0100
committerMiquel Sabaté Solà <mikisabate@gmail.com>2024-12-19 11:00:54 +0100
commit42ebea54e35062a1a998f25e8fe019a5e0205fd9 (patch)
treee947d2c86083da913595354d42e98fc74c831865 /lib/xixanta/src/node.rs
parent9d9f10295059df278ed558142ce6c58c4f6a634e (diff)
downloadtools.nes-42ebea54e35062a1a998f25e8fe019a5e0205fd9.tar.gz
tools.nes-42ebea54e35062a1a998f25e8fe019a5e0205fd9.zip
Implement the .incbin control statement
This also forced us to add the current working directory to the `Assembler::assemble` public function, as otherwise this control statement and others wouldn't know how to resolve relative paths. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to 'lib/xixanta/src/node.rs')
-rw-r--r--lib/xixanta/src/node.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/xixanta/src/node.rs b/lib/xixanta/src/node.rs
index 993d9c1..bab9420 100644
--- a/lib/xixanta/src/node.rs
+++ b/lib/xixanta/src/node.rs
@@ -137,6 +137,7 @@ pub enum ControlType {
Byte,
Word,
Addr,
+ IncBin,
}
/// The PNode type.