diff options
| author | Miquel Sabaté Solà <mikisabate@gmail.com> | 2024-11-05 13:39:16 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2024-12-12 07:55:55 +0100 |
| commit | f0624b8929e6ead3f2d8b1939dc7f094c539bee1 (patch) | |
| tree | 649391e261e7d023ade940a1d25f1974143250fd /lib/xixanta/src/mapping.rs | |
| parent | b768b2c6749986b0efe8610c023b42eb0d9e2ce6 (diff) | |
| download | tools.nes-f0624b8929e6ead3f2d8b1939dc7f094c539bee1.tar.gz tools.nes-f0624b8929e6ead3f2d8b1939dc7f094c539bee1.zip | |
Re-work the handling of segments in the assembler
There were a lot of assumptions on the assembler that stemmed from a
fundamental missunderstanding from my side on how segments are laid out
on the final file. This commit is the first step to address this.
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to 'lib/xixanta/src/mapping.rs')
| -rw-r--r-- | lib/xixanta/src/mapping.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xixanta/src/mapping.rs b/lib/xixanta/src/mapping.rs index 238f39d..bd2fc2c 100644 --- a/lib/xixanta/src/mapping.rs +++ b/lib/xixanta/src/mapping.rs @@ -51,7 +51,7 @@ pub struct Segment { pub start: u16, pub size: usize, pub offset: usize, - pub fill: Option<usize>, + pub fill: Option<u8>, pub bundles: Vec<Bundle>, } |
