0
0
Fork 0
mirror of https://git.sr.ht/~rabbits/uxn synced 2024-11-05 22:05:04 +00:00

Fix uxncli missing device pointer

This commit is contained in:
Bad Diode 2023-10-17 20:43:49 +02:00 committed by neauoire
parent e1074c9018
commit d1c156d56c

View file

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