Skip to content

Commit 3fe5b50

Browse files
authored
Merge pull request #3751 from cmitu/scummvm-2.7.1
scummvm: update to 2.7.1 and tweak startup script
2 parents 4195f15 + b050301 commit 3fe5b50

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

scriptmodules/emulators/scummvm.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ rp_module_id="scummvm"
1313
rp_module_desc="ScummVM"
1414
rp_module_help="Copy your ScummVM games to $romdir/scummvm"
1515
rp_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"
1717
rp_module_section="opt"
1818
rp_module_flags="sdl2"
1919

@@ -86,7 +86,10 @@ function configure_scummvm() {
8686
#!/bin/bash
8787
game="\$1"
8888
pushd "$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"
9093
while read id desc; do
9194
echo "\$desc" > "$romdir/scummvm/\$id.svm"
9295
done < <($md_inst/bin/scummvm --list-targets | tail -n +3)

0 commit comments

Comments
 (0)