diff options
author | Johannes Schickel | 2006-07-22 15:46:36 +0000 |
---|---|---|
committer | Johannes Schickel | 2006-07-22 15:46:36 +0000 |
commit | 98809a857acdaf219953f45398c6ea5f970658fd (patch) | |
tree | 1d9e8ba9962620ba8d3e4deb695fb148f7b9117c /engines/simon/simon.cpp | |
parent | 8116b6aab3fca7ee19025be6ec1af6e8f3777df0 (diff) | |
download | scummvm-rg350-98809a857acdaf219953f45398c6ea5f970658fd.tar.gz scummvm-rg350-98809a857acdaf219953f45398c6ea5f970658fd.tar.bz2 scummvm-rg350-98809a857acdaf219953f45398c6ea5f970658fd.zip |
Removing '/' at pathsnames of calls to "File::addDefaultDirectory" since it can't be assumed that the FS code uses '/' as path separators
(and it shouldn't break anything)
svn-id: r23563
Diffstat (limited to 'engines/simon/simon.cpp')
-rw-r--r-- | engines/simon/simon.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/engines/simon/simon.cpp b/engines/simon/simon.cpp index 294edf7a21..15f93b3067 100644 --- a/engines/simon/simon.cpp +++ b/engines/simon/simon.cpp @@ -385,24 +385,24 @@ SimonEngine::SimonEngine(OSystem *syst) // Add default file directories for Acorn version of // Simon the Sorcerer 1 - File::addDefaultDirectory(_gameDataPath + "execute/"); - File::addDefaultDirectory(_gameDataPath + "EXECUTE/"); + File::addDefaultDirectory(_gameDataPath + "execute"); + File::addDefaultDirectory(_gameDataPath + "EXECUTE"); // Add default file directories for Amiga/Macintosh // verisons of Simon the Sorcerer 2 - File::addDefaultDirectory(_gameDataPath + "voices/"); - File::addDefaultDirectory(_gameDataPath + "VOICES/"); + File::addDefaultDirectory(_gameDataPath + "voices"); + File::addDefaultDirectory(_gameDataPath + "VOICES"); // Add default file directories for Amiga & Macintosh // versions of The Feeble Files - File::addDefaultDirectory(_gameDataPath + "gfx/"); - File::addDefaultDirectory(_gameDataPath + "GFX/"); - File::addDefaultDirectory(_gameDataPath + "movies/"); - File::addDefaultDirectory(_gameDataPath + "MOVIES/"); - File::addDefaultDirectory(_gameDataPath + "sfx/"); - File::addDefaultDirectory(_gameDataPath + "SFX/"); - File::addDefaultDirectory(_gameDataPath + "speech/"); - File::addDefaultDirectory(_gameDataPath + "SPEECH/"); + File::addDefaultDirectory(_gameDataPath + "gfx"); + File::addDefaultDirectory(_gameDataPath + "GFX"); + File::addDefaultDirectory(_gameDataPath + "movies"); + File::addDefaultDirectory(_gameDataPath + "MOVIES"); + File::addDefaultDirectory(_gameDataPath + "sfx"); + File::addDefaultDirectory(_gameDataPath + "SFX"); + File::addDefaultDirectory(_gameDataPath + "speech"); + File::addDefaultDirectory(_gameDataPath + "SPEECH"); } int SimonEngine::init() { |