diff options
-rw-r--r-- | scumm/bundle.cpp | 3 | ||||
-rw-r--r-- | scumm/bundle.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/scumm/bundle.cpp b/scumm/bundle.cpp index 8ec45d83d4..247cc99e7f 100644 --- a/scumm/bundle.cpp +++ b/scumm/bundle.cpp @@ -202,6 +202,7 @@ void Bundle::closeVoiceFile() { if (_voiceFile.isOpen()) { _voiceFile.close(); free(_bundleVoiceTable); + _bundleVoiceTable = NULL; } } @@ -249,6 +250,8 @@ void Bundle::closeMusicFile() { if (_musicFile.isOpen()) { _musicFile.close(); free(_bundleMusicTable); + _bundleMusicTable = NULL; + _lastSong = -1; } } diff --git a/scumm/bundle.h b/scumm/bundle.h index e3d4eaac60..21cc4c0680 100644 --- a/scumm/bundle.h +++ b/scumm/bundle.h @@ -54,7 +54,6 @@ private: File _voiceFile; File _musicFile; - void initializeImcTables(); int32 compDecode(byte *src, byte *dst); |