uxn

Varvara Ordinator, written in ANSI C(SDL2)
git clone https://git.eamoncaddigan.net/uxn.git
Log | Files | Refs | README | LICENSE

commit ff6d9e39caf6774ae2c49c8ba91d4efb59b49bd7
parent f5c816d2152cad99ba059ec1124802f37db4d4c7
Author: Devine Lu Linvega <aliceffekt@gmail.com>
Date:   Thu, 29 Jun 2023 14:23:16 -0700

(uxnemu) Fixes issue where non-zero console/type occurs even when empty, fixed by hikari_no_yume

Diffstat:
Msrc/uxnemu.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/uxnemu.c b/src/uxnemu.c @@ -515,9 +515,9 @@ main(int argc, char **argv) /* load rom */ if(i == argc) return system_error("usage", "uxnemu [-2x][-3x] file.rom [args...]"); - if(!start(&u, argv[i], argc - i)) - return system_error("Start", "Failed"); rom_path = argv[i++]; + if(!start(&u, rom_path, argc - i)) + return system_error("Start", "Failed"); /* read arguments */ for(; i < argc; i++) { char *p = argv[i];