aboutsummaryrefslogtreecommitdiff
path: root/engines/cine
diff options
context:
space:
mode:
authorJohannes Schickel2015-12-28 00:35:43 +0100
committerJohannes Schickel2015-12-28 00:35:43 +0100
commitde0b5b62ab9171fc9839b7804a0f2b56fe0da9a9 (patch)
tree20e3f8b45ce2e542e102ff57cf8aa82202c0316f /engines/cine
parent045717ca2cfee3af454a77d532bdcb36cf02362d (diff)
downloadscummvm-rg350-de0b5b62ab9171fc9839b7804a0f2b56fe0da9a9.tar.gz
scummvm-rg350-de0b5b62ab9171fc9839b7804a0f2b56fe0da9a9.tar.bz2
scummvm-rg350-de0b5b62ab9171fc9839b7804a0f2b56fe0da9a9.zip
CINE: Let makeLoad take a Common::String as parameter.
Diffstat (limited to 'engines/cine')
-rw-r--r--engines/cine/cine.h2
-rw-r--r--engines/cine/saveload.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/cine/cine.h b/engines/cine/cine.h
index 1618899af3..7c0191b4d9 100644
--- a/engines/cine/cine.h
+++ b/engines/cine/cine.h
@@ -153,7 +153,7 @@ private:
bool makeLoad(const Common::String &saveName);
void makeSaveFW(Common::OutSaveFile &out);
void makeSaveOS(Common::OutSaveFile &out);
- void makeSave(char *saveFileName);
+ void makeSave(const Common::String &saveFileName);
void mainLoop(int bootScriptIdx);
void readVolCnf();
diff --git a/engines/cine/saveload.cpp b/engines/cine/saveload.cpp
index 907086a9a1..1f4f286694 100644
--- a/engines/cine/saveload.cpp
+++ b/engines/cine/saveload.cpp
@@ -969,7 +969,7 @@ void CineEngine::makeSaveOS(Common::OutSaveFile &out) {
saveBgIncrustList(out);
}
-void CineEngine::makeSave(char *saveFileName) {
+void CineEngine::makeSave(const Common::String &saveFileName) {
Common::SharedPtr<Common::OutSaveFile> fHandle(_saveFileMan->openForSaving(saveFileName));
setMouseCursor(MOUSE_CURSOR_DISK);