~rabbits/uxn

6e960c7ad366d0e737aa5d2a763cb779201d1952 — Sigrid Solveig Haflínudóttir 2 months ago 5f4cb9b
fix a few warnings and update version dates
2 files changed, 5 insertions(+), 5 deletions(-)

M src/uxncli.c -rw-r--r-- => -rwxr-xr-x
M src/uxnemu.c
M src/uxncli.c => src/uxncli.c +2 -2
@@ 47,11 47,11 @@ main(int argc, char **argv)
	int i = 1;
	Uxn u = {0};
	Uint8 dev[0x100] = {0};
	u.dev = (Uint8 *)&dev;
	u.dev = dev;
	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)", "18 Feb 2024.");
		return system_error("Uxncli - Varvara Emulator(CLI)", "19 Feb 2024.");
	if(!system_init(&u, (Uint8 *)calloc(0x10000 * RAM_PAGES, sizeof(Uint8)), argv[i++]))
		return system_error("Init", "Failed to initialize uxn.");
	/* eval */

M src/uxnemu.c => src/uxnemu.c +3 -3
@@ 496,12 496,12 @@ main(int argc, char **argv)
	Uxn u = {0};
	Uint8 dev[0x100] = {0};
	Uxn u_audio = {0};
	u.dev = (Uint8 *)&dev;
	u_audio.dev = (Uint8 *)&dev;
	u.dev = dev;
	u_audio.dev = dev;
	/* flags */
	if(argc > 1 && argv[i][0] == '-') {
		if(!strcmp(argv[i], "-v"))
			return system_error("Uxnemu - Varvara Emulator(GUI)", "18 Feb 2024.");
			return system_error("Uxnemu - Varvara Emulator(GUI)", "19 Feb 2024.");
		else if(!strcmp(argv[i], "-2x"))
			set_zoom(2, 0);
		else if(!strcmp(argv[i], "-3x"))