diff options
author | Paweł Kołodziejski | 2005-01-28 10:58:02 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2005-01-28 10:58:02 +0000 |
commit | a5a02d3f43bd98b1197515403f75006fe03311c6 (patch) | |
tree | 2dc10a322856414d633a1f91408e12783b58bea3 /scumm/imuse_digi | |
parent | 7f077369e657097dc9372da2265c4e4311abd7a1 (diff) | |
download | scummvm-rg350-a5a02d3f43bd98b1197515403f75006fe03311c6.tar.gz scummvm-rg350-a5a02d3f43bd98b1197515403f75006fe03311c6.tar.bz2 scummvm-rg350-a5a02d3f43bd98b1197515403f75006fe03311c6.zip |
clear compressed entries before restore for compatibility with old savegames
svn-id: r16655
Diffstat (limited to 'scumm/imuse_digi')
-rw-r--r-- | scumm/imuse_digi/dimuse.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scumm/imuse_digi/dimuse.cpp b/scumm/imuse_digi/dimuse.cpp index bb6000145d..cb64875771 100644 --- a/scumm/imuse_digi/dimuse.cpp +++ b/scumm/imuse_digi/dimuse.cpp @@ -128,6 +128,9 @@ void IMuseDigital::saveOrLoad(Serializer *ser) { for (int l = 0; l < MAX_DIGITAL_TRACKS + MAX_DIGITAL_FADETRACKS; l++) { Track *track = _track[l]; + if (!ser->isSaving()) { + track->compressed = false; + } ser->saveLoadEntries(track, trackEntries); if (!ser->isSaving()) { if (!track->used) |