commit 3f252c0ee378933856b9b01be1b3c7da58cacad5
parent 7ec95315ce696c0aceb4e9fb4f0a9eb55e5e307f
Author: neauoire <aliceffekt@gmail.com>
Date: Mon, 25 Dec 2023 14:39:29 -0800
Fixed crash from missing dev page
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/uxncli.c b/src/uxncli.c
@@ -66,6 +66,8 @@ main(int argc, char **argv)
{
Uxn u = {0};
int i = 1;
+ Uint8 dev[0x100] = {0};
+ u.dev = (Uint8 *)&dev;
if(i == argc)
return system_error("usage", "uxncli [-v] file.rom [args..]");
/* Read flags */