diff options
author | Max Horn | 2011-06-02 14:11:38 +0200 |
---|---|---|
committer | Max Horn | 2011-06-02 18:31:59 +0200 |
commit | 477d6233c3672d9a60cceea3570bc775df3d9253 (patch) | |
tree | 741ffe9dcb35fd2c9de405b7da74e572451c8304 /engines/hugo | |
parent | 86240bb0dc0103e5099d23770cc04cfd907d2c61 (diff) | |
download | scummvm-rg350-477d6233c3672d9a60cceea3570bc775df3d9253.tar.gz scummvm-rg350-477d6233c3672d9a60cceea3570bc775df3d9253.tar.bz2 scummvm-rg350-477d6233c3672d9a60cceea3570bc775df3d9253.zip |
ENGINES: Change 2nd param of Engine::saveGameState to Common::String
Diffstat (limited to 'engines/hugo')
-rw-r--r-- | engines/hugo/hugo.cpp | 2 | ||||
-rw-r--r-- | engines/hugo/hugo.h | 2 |
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; |