commit f334086721e222d88c7a7271fc1f256fe4ecd1e7
parent ba50624994487b353d75308d9fc3f6d0ed6b63b8
Author: Andrew Alderwick <andrew@alderwick.co.uk>
Date: Sun, 27 Jun 2021 18:56:21 +0100
Minor updates
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/build.sh b/build.sh
@@ -36,6 +36,7 @@ else
CORE='src/uxn-fast.c'
fi
+echo "Building.."
cc ${CFLAGS} src/uxnasm.c -o bin/uxnasm
cc ${CFLAGS} ${CORE} src/devices/ppu.c src/devices/apu.c src/uxnemu.c ${UXNEMU_LDFLAGS} -o bin/uxnemu
cc ${CFLAGS} ${CORE} src/uxncli.c -o bin/uxncli
diff --git a/src/uxn-fast.c b/src/uxn-fast.c
@@ -41,7 +41,7 @@ static const char *errors[] = {"underflow", "overflow", "division by zero"};
int
haltuxn(Uxn *u, Uint8 error, char *name, int id)
{
- fprintf(stderr,"Halted: %s %s#%04x, at 0x%04x\n", name, errors[error - 1], id, u->ram.ptr);
+ fprintf(stderr, "Halted: %s %s#%04x, at 0x%04x\n", name, errors[error - 1], id, u->ram.ptr);
u->ram.ptr = 0;
return 0;
}