Fixed crash from missing dev page
This commit is contained in:
parent
7ec95315ce
commit
3f252c0ee3
|
@ -66,6 +66,8 @@ main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
Uxn u = {0};
|
Uxn u = {0};
|
||||||
int i = 1;
|
int i = 1;
|
||||||
|
Uint8 dev[0x100] = {0};
|
||||||
|
u.dev = (Uint8 *)&dev;
|
||||||
if(i == argc)
|
if(i == argc)
|
||||||
return system_error("usage", "uxncli [-v] file.rom [args..]");
|
return system_error("usage", "uxncli [-v] file.rom [args..]");
|
||||||
/* Read flags */
|
/* Read flags */
|
||||||
|
|
Loading…
Reference in New Issue