diff options
Diffstat (limited to 'mod/hakchi/rootfs/bin/chmenu')
-rw-r--r-- | mod/hakchi/rootfs/bin/chmenu | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/mod/hakchi/rootfs/bin/chmenu b/mod/hakchi/rootfs/bin/chmenu index 427982e..a448234 100644 --- a/mod/hakchi/rootfs/bin/chmenu +++ b/mod/hakchi/rootfs/bin/chmenu @@ -10,9 +10,9 @@ prev_code=$(cat "$state_file") echo Switching to menu $1 if [ "$1" == "000" ]; then - targetpath=$gamepath + targetpath=$rootfs$gamepath else - targetpath=$gamepath/$1 + targetpath=$rootfs$gamepath/$1 fi [ -d "$targetpath" ] || exit 1 @@ -20,10 +20,15 @@ echo $1 > "$state_file" echo New directory: $targetpath if [ ! -f "$targetpath/title.fnt" ]; then - ln -s "$gamepath/title.fnt" "$targetpath/title.fnt" + ln -s "$rootfs$gamepath/title.fnt" "$targetpath/title.fnt" fi if [ ! -f "$targetpath/copyright.fnt" ]; then - ln -s "$gamepath/copyright.fnt" "$targetpath/copyright.fnt" + ln -s "$rootfs$gamepath/copyright.fnt" "$targetpath/copyright.fnt" fi +pkill -KILL clover-mcp +pkill -KILL ReedPlayer-Clover + overmount_games + +clover-mcp |