aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2004-09-18 05:00:38 +0000
committerTravis Howell2004-09-18 05:00:38 +0000
commit1c046674e52f682a7f0da90aa535b71f9b4a3abb (patch)
tree8cd51537fb2435c0c6886bbc61b99343c93626cd
parentc35757d6bbb553fe9e6560922ed804313f483dc0 (diff)
downloadscummvm-rg350-1c046674e52f682a7f0da90aa535b71f9b4a3abb.tar.gz
scummvm-rg350-1c046674e52f682a7f0da90aa535b71f9b4a3abb.tar.bz2
scummvm-rg350-1c046674e52f682a7f0da90aa535b71f9b4a3abb.zip
Skip sound caching in Sam & Max (Talkie)
svn-id: r15156
-rw-r--r--scumm/scumm.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/scumm/scumm.cpp b/scumm/scumm.cpp
index 5d1b2e424f..3094a215f4 100644
--- a/scumm/scumm.cpp
+++ b/scumm/scumm.cpp
@@ -1175,6 +1175,10 @@ void ScummEngine::launch() {
_bootParam = -7873;
}
+ if (!_copyProtection && _gameId == GID_SAMNMAX && _bootParam == 0) {
+ _bootParam = -1;
+ }
+
if (_features & GF_OLD_BUNDLE)
_resourceHeaderSize = 4; // FIXME - to be rechecked
else if (_features & GF_SMALL_HEADER)