commit e7c25fad05850f0e577fc83a140405ca6ccd93c2
parent c3c140b5e97f4f4ac91cf97ec3af25d18fee7b3b
Author: Devine Lu Linvega <aliceffekt@gmail.com>
Date: Mon, 4 Mar 2024 09:19:08 -0800
Fixed issue with debug port
Diffstat:
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/devices/system.c b/src/devices/system.c
@@ -36,7 +36,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/uxncli.c b/src/uxncli.c
@@ -51,7 +51,7 @@ main(int argc, char **argv)
if(i == argc)
return system_error("usage:", "uxncli [-v] file.rom [args..]");
if(argv[i][0] == '-' && argv[i][1] == 'v')
- return system_error("Uxncli - Varvara Emulator(CLI)", "19 Feb 2024.");
+ return system_error("Uxncli - Varvara Emulator(CLI)", "4 Mar 2024.");
if(!system_init(&u, (Uint8 *)calloc(0x10000 * RAM_PAGES, sizeof(Uint8)), argv[i++]))
return system_error("Init", "Failed to initialize uxn.");
/* eval */
diff --git a/src/uxnemu.c b/src/uxnemu.c
@@ -501,7 +501,7 @@ main(int argc, char **argv)
/* flags */
if(argc > 1 && argv[i][0] == '-') {
if(!strcmp(argv[i], "-v"))
- return system_error("Uxnemu - Varvara Emulator(GUI)", "22 Feb 2024.");
+ return system_error("Uxnemu - Varvara Emulator(GUI)", "4 Mar 2024.");
else if(!strcmp(argv[i], "-2x"))
set_zoom(2, 0);
else if(!strcmp(argv[i], "-3x"))