[Scummvm-cvs-logs] scummvm master -> dba38332d19f9aa902eae8b232c8d0f4048edb0a

wjp wjp at usecode.org
Sun Mar 6 12:27:49 CET 2016


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
dba38332d1 WINTERMUTE: Actually use new BasePersistenceManager constructor


Commit: dba38332d19f9aa902eae8b232c8d0f4048edb0a
    https://github.com/scummvm/scummvm/commit/dba38332d19f9aa902eae8b232c8d0f4048edb0a
Author: Willem Jan Palenstijn (wjp at usecode.org)
Date: 2016-03-06T12:26:57+01:00

Commit Message:
WINTERMUTE: Actually use new BasePersistenceManager constructor

Changed paths:
    engines/wintermute/base/base_file_manager.cpp



diff --git a/engines/wintermute/base/base_file_manager.cpp b/engines/wintermute/base/base_file_manager.cpp
index 4dce2f1..05830ff 100644
--- a/engines/wintermute/base/base_file_manager.cpp
+++ b/engines/wintermute/base/base_file_manager.cpp
@@ -318,7 +318,7 @@ Common::SeekableReadStream *BaseFileManager::openPkgFile(const Common::String &f
 
 bool BaseFileManager::hasFile(const Common::String &filename) {
 	if (scumm_strnicmp(filename.c_str(), "savegame:", 9) == 0) {
-		BasePersistenceManager pm(BaseEngine::instance().getGameTargetName().c_str());
+		BasePersistenceManager pm(BaseEngine::instance().getGameTargetName());
 		if (filename.size() <= 9) {
 			return false;
 		}






More information about the Scummvm-git-logs mailing list