diff options
author | Chris Apers | 2004-10-08 16:09:52 +0000 |
---|---|---|
committer | Chris Apers | 2004-10-08 16:09:52 +0000 |
commit | 757f2fdcefde1606e822acf00f0e6b783bd3174f (patch) | |
tree | 3fb1042806eca2b55b3df0f72f60153ae6ea8225 /scumm | |
parent | a34c7e4b812705891eb76ead1f46b35f01b67f0d (diff) | |
download | scummvm-rg350-757f2fdcefde1606e822acf00f0e6b783bd3174f.tar.gz scummvm-rg350-757f2fdcefde1606e822acf00f0e6b783bd3174f.tar.bz2 scummvm-rg350-757f2fdcefde1606e822acf00f0e6b783bd3174f.zip |
Prevent double slash in path
svn-id: r15473
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/scumm.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/scumm/scumm.cpp b/scumm/scumm.cpp index 5796f9a905..9467c16e32 100644 --- a/scumm/scumm.cpp +++ b/scumm/scumm.cpp @@ -438,15 +438,15 @@ ScummEngine::ScummEngine(GameDetector *detector, OSystem *syst, const ScummGameS // Add default file directories. if (((_features & GF_AMIGA) || (_features & GF_ATARI_ST)) && (_version <= 4)) { // This is for the Amiga version of Indy3/Loom/Maniac/Zak - File::addDefaultDirectory(_gameDataPath + "/ROOMS/"); - File::addDefaultDirectory(_gameDataPath + "/rooms/"); + File::addDefaultDirectory(_gameDataPath + "ROOMS/"); + File::addDefaultDirectory(_gameDataPath + "rooms/"); } if ((_features & GF_MACINTOSH) && (_version == 3)) { // This is for the Mac version of Indy3/Loom - File::addDefaultDirectory(_gameDataPath + "/Rooms 1/"); - File::addDefaultDirectory(_gameDataPath + "/Rooms 2/"); - File::addDefaultDirectory(_gameDataPath + "/Rooms 3/"); + File::addDefaultDirectory(_gameDataPath + "Rooms 1/"); + File::addDefaultDirectory(_gameDataPath + "Rooms 2/"); + File::addDefaultDirectory(_gameDataPath + "Rooms 3/"); } #ifdef MACOSX @@ -467,16 +467,16 @@ ScummEngine::ScummEngine(GameDetector *detector, OSystem *syst, const ScummGameS #endif if (_version == 8) { // This is for COMI - File::addDefaultDirectory(_gameDataPath + "/RESOURCE/"); - File::addDefaultDirectory(_gameDataPath + "/resource/"); + File::addDefaultDirectory(_gameDataPath + "RESOURCE/"); + File::addDefaultDirectory(_gameDataPath + "resource/"); } if (_version == 7) { // This is for Full Throttle & The Dig - File::addDefaultDirectory(_gameDataPath + "/VIDEO/"); - File::addDefaultDirectory(_gameDataPath + "/video/"); - File::addDefaultDirectory(_gameDataPath + "/DATA/"); - File::addDefaultDirectory(_gameDataPath + "/data/"); + File::addDefaultDirectory(_gameDataPath + "VIDEO/"); + File::addDefaultDirectory(_gameDataPath + "video/"); + File::addDefaultDirectory(_gameDataPath + "DATA/"); + File::addDefaultDirectory(_gameDataPath + "data/"); } // The mac versions of Sam&Max, DOTT, FT and The Dig used a special meta |