From 86debbd679d20f1188d2ba015e9d108cbbc85f1a Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 25 Apr 2009 06:42:01 +0000 Subject: Added code to enable Discworld 2 to play directly from the CD (only the first CD - Cd swap still doesn't work) or from files copied to the hard disk without the .smp/txt/idx files being properly renamed (again only for the first Cd). svn-id: r40141 --- engines/tinsel/tinsel.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engines/tinsel/tinsel.cpp') diff --git a/engines/tinsel/tinsel.cpp b/engines/tinsel/tinsel.cpp index 8fe0446932..a3760272b1 100644 --- a/engines/tinsel/tinsel.cpp +++ b/engines/tinsel/tinsel.cpp @@ -862,6 +862,9 @@ TinselEngine::TinselEngine(OSystem *syst, const TinselGameDescription *gameDesc) _mixer->setVolumeForSoundType(Audio::Mixer::kSFXSoundType, ConfMan.getInt("sfx_volume")); _mixer->setVolumeForSoundType(Audio::Mixer::kMusicSoundType, ConfMan.getInt("music_volume")); + // Add DW2 subfolder to search path in case user is running directly from the CDs + Common::File::addDefaultDirectory(_gameDataDir.getChild("dw2")); + const GameSettings *g; const char *gameid = ConfMan.get("gameid").c_str(); -- cgit v1.2.3