diff options
author | Eugene Sandulenko | 2005-05-14 22:56:41 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2005-05-14 22:56:41 +0000 |
commit | 3588b96d4fc6c1100a01f21987f34dab9c0e97bf (patch) | |
tree | 8bbeeacc9f3fce01838de5129703ffb11b83d44a /scumm/saveload.cpp | |
parent | 0bb3024467c8eb1f74f716848366b9b8fdf6a8c5 (diff) | |
download | scummvm-rg350-3588b96d4fc6c1100a01f21987f34dab9c0e97bf.tar.gz scummvm-rg350-3588b96d4fc6c1100a01f21987f34dab9c0e97bf.tar.bz2 scummvm-rg350-3588b96d4fc6c1100a01f21987f34dab9c0e97bf.zip |
Added --disable-hq and --disable-scumm-7-8 options. Also improved
DISABLE_HE so more HE-specific code gets excluded.
svn-id: r18099
Diffstat (limited to 'scumm/saveload.cpp')
-rw-r--r-- | scumm/saveload.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scumm/saveload.cpp b/scumm/saveload.cpp index 6e19d9672a..ff9fe5b95c 100644 --- a/scumm/saveload.cpp +++ b/scumm/saveload.cpp @@ -162,10 +162,12 @@ bool ScummEngine::loadState(int slot, bool compat) { if (!_imuse || _saveSound || !_saveTemporaryState) _sound->stopAllSounds(); +#ifndef DISABLE_SCUMM_7_8 if (_imuseDigital) { _imuseDigital->stopAllSounds(); _imuseDigital->resetState(); } +#endif _sound->stopCD(); @@ -997,12 +999,14 @@ void ScummEngine_v5::saveOrLoad(Serializer *s, uint32 savegameVersion) { s->saveLoadEntries(this, cursorEntries); } +#ifndef DISABLE_SCUMM_7_8 void ScummEngine_v7::saveOrLoad(Serializer *s, uint32 savegameVersion) { ScummEngine::saveOrLoad(s, savegameVersion); assert(_imuseDigital); _imuseDigital->saveOrLoad(s); } +#endif #ifndef DISABLE_HE void ScummEngine_v70he::saveOrLoad(Serializer *s, uint32 savegameVersion) { |