aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb
diff options
context:
space:
mode:
authorOri Avtalion2011-06-18 19:59:36 +0300
committerOri Avtalion2011-06-18 19:59:36 +0300
commit9b703356e6c7aecfea52cfa82714fb0ef8241465 (patch)
treebf95e23b16a8852192e43483d4cfee0a485259ab /engines/dreamweb
parent72aa426770af379223b1572f87c003c540f5a263 (diff)
downloadscummvm-rg350-9b703356e6c7aecfea52cfa82714fb0ef8241465.tar.gz
scummvm-rg350-9b703356e6c7aecfea52cfa82714fb0ef8241465.tar.bz2
scummvm-rg350-9b703356e6c7aecfea52cfa82714fb0ef8241465.zip
DREAMWEB: Fix saveGameState signature to match Engine's virtual method
Diffstat (limited to 'engines/dreamweb')
-rw-r--r--engines/dreamweb/detection.cpp2
-rw-r--r--engines/dreamweb/dreamweb.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/dreamweb/detection.cpp b/engines/dreamweb/detection.cpp
index c3e99fed47..b8cefaca95 100644
--- a/engines/dreamweb/detection.cpp
+++ b/engines/dreamweb/detection.cpp
@@ -140,7 +140,7 @@ Common::Error DreamWebEngine::loadGameState(int slot) {
return Common::kNoError;
}
-Common::Error DreamWebEngine::saveGameState(int slot, const char *desc) {
+Common::Error DreamWebEngine::saveGameState(int slot, const Common::String &desc) {
return Common::kNoError;
}
diff --git a/engines/dreamweb/dreamweb.h b/engines/dreamweb/dreamweb.h
index e4e0b0453a..a955bcfe47 100644
--- a/engines/dreamweb/dreamweb.h
+++ b/engines/dreamweb/dreamweb.h
@@ -69,7 +69,7 @@ public:
void waitForVSync();
Common::Error loadGameState(int slot);
- Common::Error saveGameState(int slot, const char *desc);
+ Common::Error saveGameState(int slot, const Common::String &desc);
bool canLoadGameStateCurrently();
bool canSaveGameStateCurrently();