aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/detection.cpp
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/sci/detection.cpp
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/sci/detection.cpp')
-rw-r--r--engines/sci/detection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/detection.cpp b/engines/sci/detection.cpp
index 61e6cc9d09..100b71efa7 100644
--- a/engines/sci/detection.cpp
+++ b/engines/sci/detection.cpp
@@ -748,7 +748,7 @@ Common::Error SciEngine::loadGameState(int slot) {
}
}
-Common::Error SciEngine::saveGameState(int slot, const char *desc) {
+Common::Error SciEngine::saveGameState(int slot, const Common::String &desc) {
Common::String fileName = Common::String::format("%s.%03d", _targetName.c_str(), slot);
Common::SaveFileManager *saveFileMan = g_engine->getSaveFileManager();
Common::OutSaveFile *out = saveFileMan->openForSaving(fileName);