diff options
author | craigsc | 2020-01-11 19:42:14 -0800 |
---|---|---|
committer | craigsc | 2020-01-11 19:42:14 -0800 |
commit | e7821ad6529716f4add513754c0ed9c5357ff223 (patch) | |
tree | 9bfd7fc0c5f84e5715eec18b138326239bc6dff2 /dists/gcw0 | |
parent | 0116eb64f2ee2d8a7a9d3d1db7d0d5cf354770c4 (diff) | |
download | scummvm-rg350-e7821ad6529716f4add513754c0ed9c5357ff223.tar.gz scummvm-rg350-e7821ad6529716f4add513754c0ed9c5357ff223.tar.bz2 scummvm-rg350-e7821ad6529716f4add513754c0ed9c5357ff223.zip |
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
Diffstat (limited to 'dists/gcw0')
-rwxr-xr-x | dists/gcw0/scummvm.sh | 6 |
1 files changed, 5 insertions, 1 deletions
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 |