From e7821ad6529716f4add513754c0ed9c5357ff223 Mon Sep 17 00:00:00 2001 From: craigsc Date: Sat, 11 Jan 2020 19:42:14 -0800 Subject: Add a special debugger file to act as a flag so that we can enable and disable debug logging without re-packing (or recompiling) scumm for gcw0 --- dists/gcw0/scummvm.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dists/gcw0/scummvm.sh b/dists/gcw0/scummvm.sh index 7d8c38901c..30b8a6e78d 100755 --- a/dists/gcw0/scummvm.sh +++ b/dists/gcw0/scummvm.sh @@ -6,4 +6,8 @@ if [ ! -f $HOME/.scummvmrc ] ; then cp ./scummvmrc $HOME/.scummvmrc fi -exec ./scummvm -d 11 2>&1 >/var/tmp/scummvm.log +if [ ! -f $HOME/.debug_scummvmrc ] ; then + exec ./scummvm 2>&1 >/var/tmp/scummvm.log +else + exec ./scummvm -d 11 2>&1 >/var/tmp/scummvm.log +fi -- cgit v1.2.3