diff options
author | Max Horn | 2009-05-29 14:38:22 +0000 |
---|---|---|
committer | Max Horn | 2009-05-29 14:38:22 +0000 |
commit | fb79b185717c9aae7c793e7f07d5d6b94aec4abf (patch) | |
tree | 6df973c3f64d5712d6df36caa0af30b6b6012561 /engines/sky | |
parent | 518e005ec27ef323275b364a3cd16d24d7491674 (diff) | |
download | scummvm-rg350-fb79b185717c9aae7c793e7f07d5d6b94aec4abf.tar.gz scummvm-rg350-fb79b185717c9aae7c793e7f07d5d6b94aec4abf.tar.bz2 scummvm-rg350-fb79b185717c9aae7c793e7f07d5d6b94aec4abf.zip |
Changed SaveFileManager methods to take Common::String params (instead of char pointers)
svn-id: r41000
Diffstat (limited to 'engines/sky')
-rw-r--r-- | engines/sky/detection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sky/detection.cpp b/engines/sky/detection.cpp index 3f01177cec..55c61b8665 100644 --- a/engines/sky/detection.cpp +++ b/engines/sky/detection.cpp @@ -210,7 +210,7 @@ SaveStateList SkyMetaEngine::listSaves(const char *target) const { ext.toUppercase(); if (isdigit(ext[0]) && isdigit(ext[1]) && isdigit(ext[2])){ int slotNum = atoi(ext.c_str()); - Common::InSaveFile *in = saveFileMan->openForLoading(file->c_str()); + Common::InSaveFile *in = saveFileMan->openForLoading(*file); if (in) { saveList.push_back(SaveStateDescriptor(slotNum+1, savenames[slotNum])); delete in; |