uxn

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

commit d1c156d56cabf8033e6e3c999a441308a671cfd9
parent e1074c9018d3bf6a6e1445d007d6d8aefdbe19d3
Author: Bad Diode <bd@badd10de.dev>
Date:   Tue, 17 Oct 2023 20:43:49 +0200

Fix uxncli missing device pointer

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

diff --git a/src/uxncli.c b/src/uxncli.c @@ -64,7 +64,9 @@ emu_end(Uxn *u) int main(int argc, char **argv) { - Uxn u = {0}; + Uint8 dev[0x100] = {0}; + Uxn u; + u.dev = (Uint8 *)&dev; int i = 1; if(i == argc) return system_error("usage", "uxncli [-v] file.rom [args..]");