diff --git a/src/devices/system.c b/src/devices/system.c index dfde335..0f96fdb 100644 --- a/src/devices/system.c +++ b/src/devices/system.c @@ -47,7 +47,7 @@ static void system_print(Stack *s) { Uint8 i; - for(i = s->ptr - 7; i != s->ptr + 1; i++) + for(i = s->ptr - 7; i != (Uint8)(s->ptr + 1); i++) fprintf(stderr, "%02x%c", s->dat[i], i == 0 ? '|' : ' '); fprintf(stderr, "< \n"); } diff --git a/src/uxn11.c b/src/uxn11.c index b5a2d28..c806331 100644 --- a/src/uxn11.c +++ b/src/uxn11.c @@ -267,7 +267,7 @@ main(int argc, char **argv) int i = 1; char *rom; if(i != argc && argv[i][0] == '-' && argv[i][1] == 'v') { - fprintf(stdout, "Uxn11 - Varvara Emulator, 28 Feb 2023.\n"); + fprintf(stdout, "Uxn11 - Varvara Emulator, 4 Mar 2023.\n"); i++; } rom = i == argc ? "boot.rom" : argv[i++]; diff --git a/src/uxncli.c b/src/uxncli.c index b7f8062..76e625b 100644 --- a/src/uxncli.c +++ b/src/uxncli.c @@ -71,7 +71,7 @@ main(int argc, char **argv) return system_error("usage", "uxncli [-v] file.rom [args..]"); /* Read flags */ if(argv[i][0] == '-' && argv[i][1] == 'v') - return system_version("Uxncli - Console Varvara Emulator", "28 Feb 2024"); + return system_version("Uxncli - Console Varvara Emulator", "4 Mar 2024"); if(!system_boot(&u, (Uint8 *)calloc(0x10000 * RAM_PAGES, sizeof(Uint8)), argv[i++])) return system_error("Init", "Failed to initialize uxn."); /* Game Loop */