uxn

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

commit 2f3954d398009a77340890edc83f8997cc41485b
parent d4c55e2f481bccadbcb080de3fbe409b1524957f
Author: neauoire <aliceffekt@gmail.com>
Date:   Fri,  9 Dec 2022 12:52:34 -0800

Uxnasm should use BE to store addresses

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

diff --git a/src/uxnasm.c b/src/uxnasm.c @@ -456,7 +456,8 @@ writesym(char *filename) int i; if(fp != NULL) { for(i = 0; i < p.llen; i++) { - fwrite(&p.labels[i].addr, 2, 1, fp); + fwrite(&p.labels[i].addr + 1, 1, 1, fp); + fwrite(&p.labels[i].addr, 1, 1, fp); fwrite(p.labels[i].name, slen(p.labels[i].name) + 1, 1, fp); } }