Skip to content

Commit

Permalink
SHERLOCK: Move caching Scalpel sound libraries from Sound to Scalpel …
Browse files Browse the repository at this point in the history
…engine
  • Loading branch information
dreammaster committed May 16, 2015
1 parent af651e1 commit 6027411
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions engines/sherlock/scalpel/scalpel.cpp
Expand Up @@ -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]);
Expand Down
2 changes: 0 additions & 2 deletions engines/sherlock/sound.cpp
Expand Up @@ -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");
}

/**
Expand Down

0 comments on commit 6027411

Please sign in to comment.