shithub: rc

Download patch

ref: bdf4bfe2599b518b3a5692c8747064347ade3337
parent: 571fac12b9af7d6ea8f0f8f5a25d5d7e6635a36a
author: qwx <qwx@sciops.net>
date: Sun Feb 4 09:52:56 EST 2024

emu: fix quoting

--- a/bin/emu
+++ b/bin/emu
@@ -18,6 +18,6 @@
 	cd /sys/games/lib/rom/$emu
 }
 if(~ $#joy 1)
-	nusb/joy /dev/usb/ep^$joy^.0 | joy | {eval games/$emu -a $* || eval games/$emu $*}
+	nusb/joy /dev/usb/ep^$joy^.0 | joy | {eval games/$emu -a '$*' || eval games/$emu '$*'}
 if not
-	eval games/$emu -a $* || eval games/$emu $*
+	eval games/$emu -a '$*' || eval games/$emu '$*'