aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/cine/cine.cpp2
-rw-r--r--engines/gob/gob.cpp4
-rw-r--r--engines/kyra/kyra.cpp2
-rw-r--r--engines/lure/lure.cpp2
-rw-r--r--engines/queen/queen.cpp2
-rw-r--r--engines/saga/saga.cpp2
-rw-r--r--engines/scumm/plugin.cpp6
-rw-r--r--engines/simon/simon.cpp4
-rw-r--r--engines/sky/sky.cpp2
-rw-r--r--engines/sword1/sword1.cpp4
-rw-r--r--engines/sword2/sword2.cpp2
11 files changed, 16 insertions, 16 deletions
diff --git a/engines/cine/cine.cpp b/engines/cine/cine.cpp
index 5a7c2b9433..69b1c3af78 100644
--- a/engines/cine/cine.cpp
+++ b/engines/cine/cine.cpp
@@ -97,7 +97,7 @@ GameList Engine_CINE_gameIDList() {
GameSettings Engine_CINE_findGameID(const char *gameid) {
const GameSettings *g = cine_list;
while (g->gameid) {
- if (0 == strcmp(gameid, g->gameid))
+ if (0 == scumm_stricmp(gameid, g->gameid))
break;
g++;
}
diff --git a/engines/gob/gob.cpp b/engines/gob/gob.cpp
index 3b267e4916..fd21d81415 100644
--- a/engines/gob/gob.cpp
+++ b/engines/gob/gob.cpp
@@ -292,7 +292,7 @@ GameList Engine_GOB_gameIDList() {
GameSettings Engine_GOB_findGameID(const char *gameid) {
const GameSettings *g = gob_list;
while (g->gameid) {
- if (0 == strcmp(gameid, g->gameid))
+ if (0 == scumm_stricmp(gameid, g->gameid))
break;
g++;
}
@@ -367,7 +367,7 @@ Engine *Engine_GOB_create(GameDetector * detector, OSystem *syst) {
realGame = ConfMan.get("gameid");
else
realGame = detector->_targetName;
- if (!strcmp(realGame.c_str(), "gob2"))
+ if (!scumm_stricmp(realGame.c_str(), "gob2"))
features = GF_GOB2;
else
features = GF_GOB1;
diff --git a/engines/kyra/kyra.cpp b/engines/kyra/kyra.cpp
index d9aba16213..d63038d727 100644
--- a/engines/kyra/kyra.cpp
+++ b/engines/kyra/kyra.cpp
@@ -143,7 +143,7 @@ GameList Engine_KYRA_gameIDList() {
GameSettings Engine_KYRA_findGameID(const char *gameid) {
const GameSettings *g = kyra_list;
while (g->gameid) {
- if (0 == strcmp(gameid, g->gameid))
+ if (0 == scumm_stricmp(gameid, g->gameid))
break;
g++;
}
diff --git a/engines/lure/lure.cpp b/engines/lure/lure.cpp
index 2fc47f7d62..d017b0f082 100644
--- a/engines/lure/lure.cpp
+++ b/engines/lure/lure.cpp
@@ -87,7 +87,7 @@ GameList Engine_LURE_gameIDList() {
GameSettings Engine_LURE_findGameID(const char *gameid) {
const GameSettings *g = lure_list;
while (g->gameid) {
- if (0 == strcmp(gameid, g->gameid))
+ if (0 == scumm_stricmp(gameid, g->gameid))
break;
g++;
}
diff --git a/engines/queen/queen.cpp b/engines/queen/queen.cpp
index a5833d017b..ce90c09426 100644
--- a/engines/queen/queen.cpp
+++ b/engines/queen/queen.cpp
@@ -69,7 +69,7 @@ GameList Engine_QUEEN_gameIDList() {
}
GameSettings Engine_QUEEN_findGameID(const char *gameid) {
- if (0 == strcmp(gameid, queen_setting[0].gameid))
+ if (0 == scumm_stricmp(gameid, queen_setting[0].gameid))
return queen_setting[0];
GameSettings dummy = { 0, 0 };
return dummy;
diff --git a/engines/saga/saga.cpp b/engines/saga/saga.cpp
index 4222b93b08..38b0a91250 100644
--- a/engines/saga/saga.cpp
+++ b/engines/saga/saga.cpp
@@ -77,7 +77,7 @@ GameList Engine_SAGA_gameIDList() {
GameSettings Engine_SAGA_findGameID(const char *gameid) {
const GameSettings *g = saga_games;
while (g->gameid) {
- if (0 == strcmp(gameid, g->gameid))
+ if (0 == scumm_stricmp(gameid, g->gameid))
break;
g++;
}
diff --git a/engines/scumm/plugin.cpp b/engines/scumm/plugin.cpp
index d70282d010..29001560fc 100644
--- a/engines/scumm/plugin.cpp
+++ b/engines/scumm/plugin.cpp
@@ -853,7 +853,7 @@ static const ScummGameSettings multiple_versions_md5_settings[] = {
static const char *findDescriptionFromGameID(const char *gameid) {
const GameSettings *g = gameDescriptions;
while (g->gameid) {
- if (!strcmp(g->gameid, gameid)) {
+ if (!scumm_stricmp(g->gameid, gameid)) {
return g->description;
}
g++;
@@ -892,7 +892,7 @@ GameSettings Engine_SCUMM_findGameID(const char *gameid) {
// First search the list of supported game IDs.
const GameSettings *g = gameDescriptions;
while (g->gameid) {
- if (0 == strcmp(gameid, g->gameid))
+ if (0 == scumm_stricmp(gameid, g->gameid))
return *g;
g++;
}
@@ -902,7 +902,7 @@ GameSettings Engine_SCUMM_findGameID(const char *gameid) {
GameSettings gs = { 0, 0 };
const ObsoleteGameID *o = obsoleteGameIDsTable;
while (o->from) {
- if (0 == strcmp(gameid, o->from)) {
+ if (0 == scumm_stricmp(gameid, o->from)) {
gs.gameid = gameid;
gs.gameid = "Obsolete game ID";
return gs;
diff --git a/engines/simon/simon.cpp b/engines/simon/simon.cpp
index 4f16135893..fb20351072 100644
--- a/engines/simon/simon.cpp
+++ b/engines/simon/simon.cpp
@@ -100,7 +100,7 @@ GameSettings Engine_SIMON_findGameID(const char *gameid) {
// First search the list of supported game IDs.
const GameSettings *g = simonGames;
while (g->gameid) {
- if (0 == strcmp(gameid, g->gameid))
+ if (0 == scumm_stricmp(gameid, g->gameid))
return *g;
g++;
}
@@ -110,7 +110,7 @@ GameSettings Engine_SIMON_findGameID(const char *gameid) {
GameSettings gs = { 0, 0 };
const ObsoleteGameID *o = obsoleteGameIDsTable;
while (o->from) {
- if (0 == strcmp(gameid, o->from)) {
+ if (0 == scumm_stricmp(gameid, o->from)) {
gs.gameid = gameid;
gs.gameid = "Obsolete game ID";
return gs;
diff --git a/engines/sky/sky.cpp b/engines/sky/sky.cpp
index 30e605fe4f..8b944c580f 100644
--- a/engines/sky/sky.cpp
+++ b/engines/sky/sky.cpp
@@ -87,7 +87,7 @@ GameList Engine_SKY_gameIDList() {
}
GameSettings Engine_SKY_findGameID(const char *gameid) {
- if (0 == strcmp(gameid, skySetting.gameid))
+ if (0 == scumm_stricmp(gameid, skySetting.gameid))
return skySetting;
GameSettings dummy = { 0, 0 };
return dummy;
diff --git a/engines/sword1/sword1.cpp b/engines/sword1/sword1.cpp
index fb2c352523..426b85dea3 100644
--- a/engines/sword1/sword1.cpp
+++ b/engines/sword1/sword1.cpp
@@ -74,9 +74,9 @@ GameList Engine_SWORD1_gameIDList() {
}
GameSettings Engine_SWORD1_findGameID(const char *gameid) {
- if (0 == strcmp(gameid, sword1FullSettings.gameid))
+ if (0 == scumm_stricmp(gameid, sword1FullSettings.gameid))
return sword1FullSettings;
- if (0 == strcmp(gameid, sword1DemoSettings.gameid))
+ if (0 == scumm_stricmp(gameid, sword1DemoSettings.gameid))
return sword1DemoSettings;
GameSettings dummy = { 0, 0 };
return dummy;
diff --git a/engines/sword2/sword2.cpp b/engines/sword2/sword2.cpp
index 4abd8b1a70..e3e7d25bde 100644
--- a/engines/sword2/sword2.cpp
+++ b/engines/sword2/sword2.cpp
@@ -76,7 +76,7 @@ GameList Engine_SWORD2_gameIDList() {
GameSettings Engine_SWORD2_findGameID(const char *gameid) {
const Sword2GameSettings *g = sword2_settings;
while (g->gameid) {
- if (0 == strcmp(gameid, g->gameid))
+ if (0 == scumm_stricmp(gameid, g->gameid))
break;
g++;
}