commit d167b889962dfeb451e42c9172410f62e1ad75c9
parent 01897219565591cdf0d2f9f4e6de3aee24516378
Author: neauoire <aliceffekt@gmail.com>
Date: Mon, 30 Oct 2023 11:24:04 -0700
(uxncli) Zeroing Uxn
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/uxncli.c b/src/uxncli.c
@@ -63,7 +63,7 @@ emu_end(Uxn *u)
int
main(int argc, char **argv)
{
- Uxn u;
+ Uxn u = {0};
int i = 1;
if(i == argc)
return system_error("usage", "uxncli [-v] file.rom [args..]");
@@ -75,7 +75,7 @@ main(int argc, char **argv)
system_connect(0xc, DATETIME_VERSION, DATETIME_DEIMASK, DATETIME_DEOMASK);
/* Read flags */
if(argv[i][0] == '-' && argv[i][1] == 'v')
- return system_version("Uxncli - Console Varvara Emulator", "5 Sep 2023");
+ return system_version("Uxncli - Console Varvara Emulator", "30 Oct 2023");
if(!system_init(&u, (Uint8 *)calloc(0x10000 * RAM_PAGES, sizeof(Uint8)), argv[i++]))
return system_error("Init", "Failed to initialize uxn.");
/* Game Loop */