File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ rp_module_id="scummvm"
1313rp_module_desc=" ScummVM"
1414rp_module_help=" Copy your ScummVM games to $romdir /scummvm"
1515rp_module_licence=" GPL3 https://raw.githubusercontent.com/scummvm/scummvm/master/COPYING"
16- rp_module_repo=" git https://github.com/scummvm/scummvm.git v2.7.0 "
16+ rp_module_repo=" git https://github.com/scummvm/scummvm.git v2.7.1 "
1717rp_module_section=" opt"
1818rp_module_flags=" sdl2"
1919
@@ -86,7 +86,10 @@ function configure_scummvm() {
8686#!/bin/bash
8787game="\$ 1"
8888pushd "$romdir /scummvm" >/dev/null
89- $md_inst /bin/scummvm --fullscreen --joystick=0 --extrapath="$md_inst /extra" "\$ game"
89+ if ! grep -qs extrapath "\$ HOME/.config/scummvm/scummvm.ini"; then
90+ params="--extrapath="$md_inst /extra""
91+ fi
92+ $md_inst /bin/scummvm --fullscreen \$ params --joystick=0 "\$ game"
9093while read id desc; do
9194 echo "\$ desc" > "$romdir /scummvm/\$ id.svm"
9295done < <($md_inst /bin/scummvm --list-targets | tail -n +3)
You can’t perform that action at this time.
0 commit comments