diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-02-22 15:15:47 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-02-22 15:15:47 +0100 |
commit | f71986d23434c1eb9c11a65238309fbfa9fe4b73 (patch) | |
tree | ed69b4eb3fd6cd5688f1ad3a64c146752dcba75c /src/c8asm | |
parent | 3d92d615396d8b3f1c43ad59196e40f15a87bcc8 (diff) |
Pad trailing sprite data
Diffstat (limited to 'src/c8asm')
-rw-r--r-- | src/c8asm/assembler.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/c8asm/assembler.c b/src/c8asm/assembler.c index daafc11..9aa356c 100644 --- a/src/c8asm/assembler.c +++ b/src/c8asm/assembler.c @@ -230,6 +230,9 @@ assemble(FILE *stream, struct ast ast) } } + if (pad) + putchar(0); + locals.len = 0; #undef PUT |