diff options
author | Paul Gilbert | 2015-05-16 09:33:42 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-05-16 09:33:42 -0400 |
commit | 602741172d9e1b187228655f4361f8850d44155b (patch) | |
tree | fc180f7d88576bbe2696f81081b7b29d339353d2 /engines | |
parent | af651e19a421781a1498de0e66909a2e9450611c (diff) | |
download | scummvm-rg350-602741172d9e1b187228655f4361f8850d44155b.tar.gz scummvm-rg350-602741172d9e1b187228655f4361f8850d44155b.tar.bz2 scummvm-rg350-602741172d9e1b187228655f4361f8850d44155b.zip |
SHERLOCK: Move caching Scalpel sound libraries from Sound to Scalpel engine
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sherlock/scalpel/scalpel.cpp | 2 | ||||
-rw-r--r-- | engines/sherlock/sound.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/sherlock/scalpel/scalpel.cpp b/engines/sherlock/scalpel/scalpel.cpp index 521aeb338b..eff589874d 100644 --- a/engines/sherlock/scalpel/scalpel.cpp +++ b/engines/sherlock/scalpel/scalpel.cpp @@ -257,7 +257,9 @@ void ScalpelEngine::initialize() { // Add some more files to the cache _res->addToCache("portrait.lib"); _res->addToCache("sequence.txt"); + _res->addToCache("EPILOGUE.SND"); _res->addToCache("snd.snd"); + _res->addToCache("title.snd"); // Load the map co-ordinates for each scene and sequence data _map->loadPoints(NUM_PLACES, &MAP_X[0], &MAP_Y[0], &MAP_TRANSLATE[0]); diff --git a/engines/sherlock/sound.cpp b/engines/sherlock/sound.cpp index 001907917f..3a308644a8 100644 --- a/engines/sherlock/sound.cpp +++ b/engines/sherlock/sound.cpp @@ -45,8 +45,6 @@ Sound::Sound(SherlockEngine *vm, Audio::Mixer *mixer): _vm(vm), _mixer(mixer) { _speechOn = true; _vm->_res->addToCache("MUSIC.LIB"); - _vm->_res->addToCache("TITLE.SND"); - _vm->_res->addToCache("EPILOGUE.SND"); } /** |