Browse code

Reduced PAD, display usage:, and added 2 fonts

neauoire authored on 24/07/2021 17:27:27
Showing 3 changed files
1 1
new file mode 100644
2 2
Binary files /dev/null and b/projects/fonts/acorn8-italic.uf1 differ
3 3
new file mode 100644
4 4
Binary files /dev/null and b/projects/fonts/acorn8-regular.uf1 differ
... ...
@@ -31,7 +31,7 @@ static Apu apu[POLYPHONY];
31 31
 static Device *devscreen, *devmouse, *devctrl, *devaudio0, *devconsole;
32 32
 static Uint32 stdin_event;
33 33
 
34
-#define PAD 16
34
+#define PAD 4
35 35
 
36 36
 static Uint8 zoom = 0, debug = 0, reqdraw = 0, bench = 0;
37 37
 
... ...
@@ -409,7 +409,7 @@ main(int argc, char **argv)
409 409
 	SDL_CreateThread(stdin_handler, "stdin", NULL);
410 410
 
411 411
 	if(argc < 2)
412
-		return error("Input", "Missing");
412
+		return error("Input", "usage: uxnemu file.rom");
413 413
 	if(!bootuxn(&u))
414 414
 		return error("Boot", "Failed");
415 415
 	if(!loaduxn(&u, argv[1]))