ENGINES: Merge saveGameState virtual methods into a single one

This commit is contained in:
Paul Gilbert 2020-02-04 22:13:33 -08:00 committed by Paul Gilbert
parent 1bc068decd
commit a00e44ba6c
123 changed files with 127 additions and 140 deletions

View file

@ -149,7 +149,7 @@ Common::Error MacVentureEngine::loadGameState(int slot) {
return Common::kNoError;
}
Common::Error MacVentureEngine::saveGameState(int slot, const Common::String &desc) {
Common::Error MacVentureEngine::saveGameState(int slot, const Common::String &desc, bool isAutosave) {
Common::String saveFileName = Common::String::format("%s.%03d", _targetName.c_str(), slot);
Common::SaveFileManager *manager = getSaveFileManager();
// HACK Get a real name!