diff options
author | Paweł Kołodziejski | 2005-01-28 11:21:38 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2005-01-28 11:21:38 +0000 |
commit | e891988298ccc9077bf802fbacabbff36cd5a9b5 (patch) | |
tree | 52e4cd273663a3993ee10b6fbe2198b0f61b3aff /scumm/imuse_digi | |
parent | 9171951cf9ca2fd26a32db35240c45253d9f17f6 (diff) | |
download | scummvm-rg350-e891988298ccc9077bf802fbacabbff36cd5a9b5.tar.gz scummvm-rg350-e891988298ccc9077bf802fbacabbff36cd5a9b5.tar.bz2 scummvm-rg350-e891988298ccc9077bf802fbacabbff36cd5a9b5.zip |
double check
svn-id: r16658
Diffstat (limited to 'scumm/imuse_digi')
-rw-r--r-- | scumm/imuse_digi/dimuse.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scumm/imuse_digi/dimuse.cpp b/scumm/imuse_digi/dimuse.cpp index 6581525ee1..f8e5228d16 100644 --- a/scumm/imuse_digi/dimuse.cpp +++ b/scumm/imuse_digi/dimuse.cpp @@ -147,6 +147,10 @@ void IMuseDigital::saveOrLoad(Serializer *ser) { track->soundName, track->soundType, track->volGroupId, -1); assert(track->soundHandle); + if (track->compressed) { + track->regionOffset = 0; + track->dataOffset = _sound->getRegionOffset(track->soundHandle, track->curRegion); + } track->compressed = _sound->isCompressed(track->soundHandle); if (track->compressed) { track->regionOffset = 0; |