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:
parent
e1074c9018
commit
d1c156d56c
1 changed files with 3 additions and 1 deletions
|
@ -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..]");
|
||||||
|
|
Loading…
Reference in a new issue