diff options
author | Max Horn | 2008-09-07 15:16:45 +0000 |
---|---|---|
committer | Max Horn | 2008-09-07 15:16:45 +0000 |
commit | f5462901b24f5a1191f3d68d866e4ee75a006347 (patch) | |
tree | b618e411a236138e8b61550b2751d341b154807d /engines/kyra | |
parent | b3a48455db2a13a740f4c4241c9a9c09c681c7bd (diff) | |
download | scummvm-rg350-f5462901b24f5a1191f3d68d866e4ee75a006347.tar.gz scummvm-rg350-f5462901b24f5a1191f3d68d866e4ee75a006347.tar.bz2 scummvm-rg350-f5462901b24f5a1191f3d68d866e4ee75a006347.zip |
Temporary workaround for bug #2098279: ALL: Game path with no trailing backslash fails
svn-id: r34408
Diffstat (limited to 'engines/kyra')
-rw-r--r-- | engines/kyra/resource.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/kyra/resource.cpp b/engines/kyra/resource.cpp index bfd8b6a91c..340d9e0d1c 100644 --- a/engines/kyra/resource.cpp +++ b/engines/kyra/resource.cpp @@ -79,8 +79,8 @@ bool Resource::reset() { } else { if (_vm->gameFlags().isTalkie) { // Add default file directories - Common::File::addDefaultDirectory(ConfMan.get("path") + "hof_cd"); - Common::File::addDefaultDirectory(ConfMan.get("path") + "HOF_CD"); + Common::File::addDefaultDirectory(ConfMan.get("path") + "/hof_cd"); + Common::File::addDefaultDirectory(ConfMan.get("path") + "/HOF_CD"); } loadPakFile("INTROGEN.PAK"); @@ -95,8 +95,8 @@ bool Resource::reset() { } // Add default file directories - Common::File::addDefaultDirectory(ConfMan.get("path") + "malcolm"); - Common::File::addDefaultDirectory(ConfMan.get("path") + "MALCOLM"); + Common::File::addDefaultDirectory(ConfMan.get("path") + "/malcolm"); + Common::File::addDefaultDirectory(ConfMan.get("path") + "/MALCOLM"); if (!loadFileList("FILEDATA.FDT")) error("couldn't load file: 'FILEDATA.FDT'"); |