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
1 changed files with 3 additions and 1 deletions

View File

@ -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..]");