Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/hakchi2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/mods
diff options
context:
space:
mode:
Diffstat (limited to 'mods')
-rw-r--r--mods/mod_hakchi/hakchi/rootfs/bin/clover-canoe-shvc-wr6
1 files changed, 4 insertions, 2 deletions
diff --git a/mods/mod_hakchi/hakchi/rootfs/bin/clover-canoe-shvc-wr b/mods/mod_hakchi/hakchi/rootfs/bin/clover-canoe-shvc-wr
index 62fc841b..97fe3e9d 100644
--- a/mods/mod_hakchi/hakchi/rootfs/bin/clover-canoe-shvc-wr
+++ b/mods/mod_hakchi/hakchi/rootfs/bin/clover-canoe-shvc-wr
@@ -6,7 +6,8 @@
source /etc/preinit
script_init
-filename=$1
+arg1=$1
+filename=$2
filebase=$(basename "$filename")
extension="${filebase##*.}"
tmppath=/tmp/rom
@@ -18,7 +19,8 @@ if [ "$extension" == "7z" ]; then
filename=$(ls)
fi
shift
+shift
-args="$filename $@ $cfg_snes_extra_args"
+args="$arg1 $filename $@ $cfg_snes_extra_args"
exec /usr/bin/clover-canoe-shvc $args