diff -ur ScummVM-cvs20040127/scummvm/scumm/saveload.cpp ScummVM-cvs20040127+hack/scummvm/scumm/saveload.cpp
old
|
new
|
|
124 | 124 | |
125 | 125 | memcpy(_saveLoadName, hdr.name, sizeof(hdr.name)); |
126 | 126 | |
127 | | _sound->stopAllSounds(); |
| 127 | // When the engine does a temporary save/restore it won't save the |
| 128 | // iMUSE state. In that case we shouldn't stop the music either. This |
| 129 | // stops the Mole Man theme from going quiet in Sam & Max when Doug |
| 130 | // tells you about the Ball of Twine. |
| 131 | // |
| 132 | // If we don't have iMUSE at all we may as well stop the sounds. |
| 133 | // |
| 134 | // Of course, stopAllSounds() stops more than just the music, but I |
| 135 | // hope that won't cause any trouble. |
| 136 | |
| 137 | if (!_imuse || _saveSound || !_saveLoadCompatible) |
| 138 | _sound->stopAllSounds(); |
| 139 | |
128 | 140 | _sound->stopCD(); |
129 | 141 | |
130 | 142 | _sound->pauseSounds(true); |