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:
authorAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2017-10-05 23:42:19 +0300
committerAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2017-10-05 23:42:19 +0300
commitad222ad525a69ff39a0c7a6120eb45e6bae3ce70 (patch)
treecf91cbf0cc629809bca3ab52f1bae0ea3fd5039d /mods
parent100852f221b8f1b83c978d29c0cd56f54d7ffab8 (diff)
Finally SNES patcher
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