diff options
author | Scott <romracer@gmail.com> | 2017-10-10 16:32:20 +0300 |
---|---|---|
committer | Scott <romracer@gmail.com> | 2017-10-10 16:32:20 +0300 |
commit | a0b09180bf8b2efcbef8d0f91595fdde95400e9f (patch) | |
tree | d3900ccc2424a8369f5b18eb03228a857ac1cb68 | |
parent | 81240c775578b2b86bc7ae521be048defc49a142 (diff) |
Fix using clover-canoe-shvc-wr to launch retroarch
-rwxr-xr-x | core_modules/snes9x2010.hmod/usr/bin/clover-canoe-shvc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core_modules/snes9x2010.hmod/usr/bin/clover-canoe-shvc b/core_modules/snes9x2010.hmod/usr/bin/clover-canoe-shvc index 6d052c5..02f43c8 100755 --- a/core_modules/snes9x2010.hmod/usr/bin/clover-canoe-shvc +++ b/core_modules/snes9x2010.hmod/usr/bin/clover-canoe-shvc @@ -19,6 +19,7 @@ decorative_options() done < "$fn" } +args=$@ options="" retroarch=0 clovercon_file=/dev/clovercon1 @@ -68,10 +69,10 @@ while [ $# -gt 0 ] ; do if [ -f "$1.gz" ]; then options="$options /tmp/ROM.sfrom" gunzip -c "$1.gz" > /tmp/ROM.sfrom - rom=/tmp/ROM.sfrom + filename=/tmp/ROM.sfrom else options="$options $1" - rom=$1 + filename=$1 fi ;; *) options="$options $1" ;; |