aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/saga/game.cpp5
-rw-r--r--engines/simon/game.cpp6
2 files changed, 7 insertions, 4 deletions
diff --git a/engines/saga/game.cpp b/engines/saga/game.cpp
index 38b3d2fb59..2b66e42bf5 100644
--- a/engines/saga/game.cpp
+++ b/engines/saga/game.cpp
@@ -30,6 +30,7 @@
#include "common/fs.h"
#include "common/md5.h"
#include "common/hashmap.h"
+#include "common/hash-str.h"
#include "common/config-manager.h"
#include "base/plugins.h"
@@ -98,10 +99,10 @@ static int detectGame(const FSList *fslist, Common::Language language, Common::P
int gamesCount = ARRAYSIZE(gameDescriptions);
int filesCount;
- typedef Common::HashMap<Common::String, bool> StringSet;
+ typedef Common::HashMap<Common::String, bool, Common::CaseSensitiveString_Hash, Common::CaseSensitiveString_EqualTo> StringSet;
StringSet filesList;
- typedef Common::HashMap<Common::String, Common::String> StringMap;
+ typedef Common::StringMap StringMap;
StringMap filesMD5;
Common::String tstr;
diff --git a/engines/simon/game.cpp b/engines/simon/game.cpp
index 4e5987f3d3..75d31c90d2 100644
--- a/engines/simon/game.cpp
+++ b/engines/simon/game.cpp
@@ -29,6 +29,8 @@
#include "common/file.h"
#include "common/fs.h"
#include "common/md5.h"
+#include "common/hashmap.h"
+#include "common/hash-str.h"
#include "simon/simon.h"
@@ -1349,10 +1351,10 @@ static int detectGame(const FSList *fslist, Common::Language language, Common::P
int gamesCount = ARRAYSIZE(gameDescriptions);
int filesCount;
- typedef Common::HashMap<Common::String, bool> StringSet;
+ typedef Common::HashMap<Common::String, bool, Common::CaseSensitiveString_Hash, Common::CaseSensitiveString_EqualTo> StringSet;
StringSet filesList;
- typedef Common::HashMap<Common::String, Common::String> StringMap;
+ typedef Common::StringMap StringMap;
StringMap filesMD5;
Common::String tstr, tstr2;