aboutsummaryrefslogtreecommitdiff
path: root/engines/tinsel
diff options
context:
space:
mode:
authorMax Horn2011-06-02 14:11:38 +0200
committerMax Horn2011-06-02 18:31:59 +0200
commit477d6233c3672d9a60cceea3570bc775df3d9253 (patch)
tree741ffe9dcb35fd2c9de405b7da74e572451c8304 /engines/tinsel
parent86240bb0dc0103e5099d23770cc04cfd907d2c61 (diff)
downloadscummvm-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/tinsel')
-rw-r--r--engines/tinsel/detection.cpp2
-rw-r--r--engines/tinsel/tinsel.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/tinsel/detection.cpp b/engines/tinsel/detection.cpp
index 27b16c5b93..0f0e3cd1ef 100644
--- a/engines/tinsel/detection.cpp
+++ b/engines/tinsel/detection.cpp
@@ -410,7 +410,7 @@ Common::Error TinselEngine::loadGameState(int slot) {
}
#if 0
-Common::Error TinselEngine::saveGameState(int slot, const char *desc) {
+Common::Error TinselEngine::saveGameState(int slot, const Common::String &desc) {
Common::String saveName = _vm->getSavegameFilename((int16)(slot + 1));
char saveDesc[SG_DESC_LEN];
Common::strlcpy(saveDesc, desc, SG_DESC_LEN);
diff --git a/engines/tinsel/tinsel.h b/engines/tinsel/tinsel.h
index d0875f9fdf..30b060766e 100644
--- a/engines/tinsel/tinsel.h
+++ b/engines/tinsel/tinsel.h
@@ -169,7 +169,7 @@ protected:
virtual bool hasFeature(EngineFeature f) const;
Common::Error loadGameState(int slot);
#if 0
- Common::Error saveGameState(int slot, const char *desc);
+ Common::Error saveGameState(int slot, const Common::String &desc);
#endif
bool canLoadGameStateCurrently();
#if 0