aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/engine.cpp4
-rw-r--r--engines/kyra/detection.cpp4
-rw-r--r--engines/kyra/kyra_v1.cpp2
3 files changed, 5 insertions, 5 deletions
diff --git a/engines/engine.cpp b/engines/engine.cpp
index a668955c47..8487a42d05 100644
--- a/engines/engine.cpp
+++ b/engines/engine.cpp
@@ -123,8 +123,8 @@ void initCommonGFX(bool defaultTo1XScaler) {
(
!gameDomain ||
!gameDomain->contains("gfx_mode") ||
- !scumm_stricmp(gameDomain->get("gfx_mode").c_str(), "normal") ||
- !scumm_stricmp(gameDomain->get("gfx_mode").c_str(), "default")
+ !scumm_stricmp(gameDomain->getVal("gfx_mode").c_str(), "normal") ||
+ !scumm_stricmp(gameDomain->getVal("gfx_mode").c_str(), "default")
);
// See if the game should default to 1x scaler
diff --git a/engines/kyra/detection.cpp b/engines/kyra/detection.cpp
index be3cd2bf3a..6e9359e7fc 100644
--- a/engines/kyra/detection.cpp
+++ b/engines/kyra/detection.cpp
@@ -1355,7 +1355,7 @@ void KyraMetaEngine::removeSaveState(const char *target, int slot) const {
// In Kyra games slot 0 can't be deleted, it's for restarting the game(s).
// An exception makes Lands of Lore here, it does not have any way to restart the
// game except via its main menu.
- if (slot == 0 && !ConfMan.getDomain(target)->get("gameid").equalsIgnoreCase("lol"))
+ if (slot == 0 && !ConfMan.getDomain(target)->getVal("gameid").equalsIgnoreCase("lol"))
return;
Common::String filename = Kyra::KyraEngine_v1::getSavegameFilename(target, slot);
@@ -1376,7 +1376,7 @@ SaveStateDescriptor KyraMetaEngine::querySaveMetaInfos(const char *target, int s
if (error == Kyra::KyraEngine_v1::kRSHENoError) {
SaveStateDescriptor desc(slot, header.description);
- bool lolGame = ConfMan.getDomain(target)->get("gameid").equalsIgnoreCase("lol");
+ bool lolGame = ConfMan.getDomain(target)->getVal("gameid").equalsIgnoreCase("lol");
// Slot 0 is used for the 'restart game' save in all three Kyrandia games, thus
// we prevent it from being deleted.
diff --git a/engines/kyra/kyra_v1.cpp b/engines/kyra/kyra_v1.cpp
index bd8e1295ca..4c87ff4173 100644
--- a/engines/kyra/kyra_v1.cpp
+++ b/engines/kyra/kyra_v1.cpp
@@ -489,7 +489,7 @@ void KyraEngine_v1::registerDefaultSettings() {
// the global subtitles settings, we're using this hack to enable subtitles
// for fan translations
const Common::ConfigManager::Domain *cur = ConfMan.getActiveDomain();
- if (!cur || (cur && cur->get("subtitles").empty()))
+ if (!cur || (cur && cur->getVal("subtitles").empty()))
ConfMan.setBool("subtitles", true);
}
}