From 9b703356e6c7aecfea52cfa82714fb0ef8241465 Mon Sep 17 00:00:00 2001 From: Ori Avtalion Date: Sat, 18 Jun 2011 19:59:36 +0300 Subject: DREAMWEB: Fix saveGameState signature to match Engine's virtual method --- engines/dreamweb/detection.cpp | 2 +- engines/dreamweb/dreamweb.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/dreamweb') 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(); -- cgit v1.2.3