diff options
author | Travis Howell | 2005-09-02 01:41:53 +0000 |
---|---|---|
committer | Travis Howell | 2005-09-02 01:41:53 +0000 |
commit | a33603e0ebab1966395f440dbd98e11b82be6e51 (patch) | |
tree | 1fade8b0d5094deec5f8c0c2c304a0fbb88b200a /scumm/imuse_digi/dimuse_sndmgr.cpp | |
parent | efae5f30ea94f255e755bf0802cc88c97501d0b9 (diff) | |
download | scummvm-rg350-a33603e0ebab1966395f440dbd98e11b82be6e51.tar.gz scummvm-rg350-a33603e0ebab1966395f440dbd98e11b82be6e51.tar.bz2 scummvm-rg350-a33603e0ebab1966395f440dbd98e11b82be6e51.zip |
Match original games, only the music file is essential in COMI.
svn-id: r18728
Diffstat (limited to 'scumm/imuse_digi/dimuse_sndmgr.cpp')
-rw-r--r-- | scumm/imuse_digi/dimuse_sndmgr.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scumm/imuse_digi/dimuse_sndmgr.cpp b/scumm/imuse_digi/dimuse_sndmgr.cpp index 4c47ddaf16..9dd8b20e02 100644 --- a/scumm/imuse_digi/dimuse_sndmgr.cpp +++ b/scumm/imuse_digi/dimuse_sndmgr.cpp @@ -265,7 +265,7 @@ bool ImuseDigiSndMgr::openMusicBundle(soundStruct *sound, int disk) { sound->bundle = new BundleMgr(_cacheBundleDir); if (_vm->_gameId == GID_CMI) { if (_vm->_features & GF_DEMO) { - result = sound->bundle->open("music.bun", sound->compressed, false); + result = sound->bundle->open("music.bun", sound->compressed); } else { char musicfile[20]; if (disk == -1) @@ -278,13 +278,13 @@ bool ImuseDigiSndMgr::openMusicBundle(soundStruct *sound, int disk) { // sound->bundle->closeFile(); // } - result = sound->bundle->open(musicfile, sound->compressed); + result = sound->bundle->open(musicfile, sound->compressed, true); // FIXME: Shouldn't we only set _disk if result == true? _disk = (byte)_vm->VAR(_vm->VAR_CURRENTDISK); } } else if (_vm->_gameId == GID_DIG) - result = sound->bundle->open("digmusic.bun", sound->compressed); + result = sound->bundle->open("digmusic.bun", sound->compressed, true); else error("ImuseDigiSndMgr::openMusicBundle() Don't know which bundle file to load"); |