aboutsummaryrefslogtreecommitdiff
path: root/lib/xixanta/src/mapping.rs
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mikisabate@gmail.com>2024-07-16 11:12:26 +0200
committerMiquel Sabaté Solà <mikisabate@gmail.com>2024-12-12 07:32:52 +0100
commit7822c00e8689c99ded0a360026f4e7ace1f2c87f (patch)
treee2bc22aeea0a172ee7aee5e4a2a4b603a495b9b8 /lib/xixanta/src/mapping.rs
parentc6c9aa4e5f3e5a01fcb9ccabf6dbd2f6da277650 (diff)
downloadtools.nes-7822c00e8689c99ded0a360026f4e7ace1f2c87f.tar.gz
tools.nes-7822c00e8689c99ded0a360026f4e7ace1f2c87f.zip
Add support for branching
This is a bare bones implementation of it, and there's a lot of nuance that it's being missed, but at least the fundamentals have been implemented already. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to 'lib/xixanta/src/mapping.rs')
-rw-r--r--lib/xixanta/src/mapping.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xixanta/src/mapping.rs b/lib/xixanta/src/mapping.rs
index 56acf18..c097fd8 100644
--- a/lib/xixanta/src/mapping.rs
+++ b/lib/xixanta/src/mapping.rs
@@ -16,7 +16,7 @@ pub struct Segment {
pub struct Mapping {
pub segments: Vec<Segment>,
pub nodes: HashMap<String, Vec<Node>>,
- current: String,
+ pub current: String,
}
impl Mapping {