commit 855b63b

Devine Lu Linvega  ·  2023-04-30 17:24:14 +0000 UTC
parent 29f057b
Housekeeping
2 files changed,  +2, -2
+1, -1
1@@ -71,7 +71,7 @@ screen_resize(UxnScreen *p, Uint16 width, Uint16 height)
2 {
3 	Uint8 *bg, *fg;
4 	Uint32 *pixels;
5-	if(width < 0x20 || height < 0x20 || width >= 0x400 || height >= 0x400)
6+	if(width < 0x8 || height < 0x8 || width >= 0x400 || height >= 0x400)
7 		return;
8 	bg = realloc(p->bg.pixels, width * height),
9 	fg = realloc(p->fg.pixels, width * height);
+1, -1
1@@ -52,7 +52,7 @@ main(int argc, char **argv)
2 		return system_error("Boot", "Failed");
3 	if(!system_load(&u, argv[i++]))
4 		return system_error("Load", "Failed");
5-	u.dev[0x17] = i != argc;
6+	u.dev[0x17] = argc - i;
7 	if(!uxn_eval(&u, PAGE_PROGRAM))
8 		return u.dev[0x0f] & 0x7f;
9 	for(; i < argc; i++) {