uxn

Varvara Ordinator, written in ANSI C(SDL2)
git clone https://git.eamoncaddigan.net/uxn.git
Log | Files | Refs | README | LICENSE

commit 7bdf99afc4748ed5c1f1b356fdff488164111d1e
parent d95abf22b763b5f2f6156592e8ac97b82bd9dd10
Author: McGravel <explodedgravy@gmail.com>
Date:   Tue, 11 Mar 2025 08:07:32 +0000

Fix Symbol file not being written in binary format

Diffstat:
Msrc/uxnasm.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/uxnasm.c b/src/uxnasm.c @@ -456,7 +456,7 @@ build(char *rompath) labels_len, macro_len); /* sym */ - if(!(dstsym = fopen(sympath, "w"))) + if(!(dstsym = fopen(sympath, "wb"))) return !error_top("Symbols file invalid", sympath); for(i = 0; i < labels_len; i++) { Uint8 hb = labels[i].addr >> 8, lb = labels[i].addr;