aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo
diff options
context:
space:
mode:
Diffstat (limited to 'engines/hugo')
-rw-r--r--engines/hugo/hugo.cpp2
-rw-r--r--engines/hugo/hugo.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/hugo/hugo.cpp b/engines/hugo/hugo.cpp
index a08dbc094b..10d61f25a2 100644
--- a/engines/hugo/hugo.cpp
+++ b/engines/hugo/hugo.cpp
@@ -130,7 +130,7 @@ void HugoEngine::setMaxScore(const int newScore) {
_maxscore = newScore;
}
-Common::Error HugoEngine::saveGameState(int slot, const char *desc) {
+Common::Error HugoEngine::saveGameState(int slot, const Common::String &desc) {
return (_file->saveGame(slot, desc) ? Common::kWritingFailed : Common::kNoError);
}
diff --git a/engines/hugo/hugo.h b/engines/hugo/hugo.h
index b5b8d5ea61..81d194f1d6 100644
--- a/engines/hugo/hugo.h
+++ b/engines/hugo/hugo.h
@@ -301,7 +301,7 @@ public:
void adjustScore(const int adjustment);
int getMaxScore() const;
void setMaxScore(const int newScore);
- Common::Error saveGameState(int slot, const char *desc);
+ Common::Error saveGameState(int slot, const Common::String &desc);
Common::Error loadGameState(int slot);
bool hasFeature(EngineFeature f) const;
const char *getCopyrightString() const;