diff options
Diffstat (limited to 'engines/supernova/detection.cpp')
| -rw-r--r-- | engines/supernova/detection.cpp | 16 | 
1 files changed, 8 insertions, 8 deletions
| diff --git a/engines/supernova/detection.cpp b/engines/supernova/detection.cpp index 61a99f083c..8e9db14db4 100644 --- a/engines/supernova/detection.cpp +++ b/engines/supernova/detection.cpp @@ -30,9 +30,9 @@  #include "supernova/supernova.h"  static const PlainGameDescriptor supernovaGames[] = { -    {"msn1", "Mission Supernova 1"}, -    {"msn2", "Mission Supernova 2"}, -    {NULL, NULL} +	{"msn1", "Mission Supernova 1"}, +	{"msn2", "Mission Supernova 2"}, +	{NULL, NULL}  };  namespace Supernova { @@ -133,7 +133,7 @@ SaveStateList SupernovaMetaEngine::listSaves(const char *target) const {  	SaveStateList saveFileList;  	for (Common::StringArray::const_iterator file = filenames.begin(); -	     file != filenames.end(); ++file) { +		 file != filenames.end(); ++file) {  		int saveSlot = atoi(file->c_str() + file->size() - 3);  		if (saveSlot >= 0 && saveSlot <= getMaximumSaveSlot()) {  			Common::InSaveFile *savefile = g_system->getSavefileManager()->openForLoading(*file); @@ -166,7 +166,7 @@ void SupernovaMetaEngine::removeSaveState(const char *target, int slot) const {  SaveStateDescriptor SupernovaMetaEngine::querySaveMetaInfos(const char *target, int slot) const {  	Common::String fileName = Common::String::format("msn_save.%03d", slot);  	Common::InSaveFile *savefile = g_system->getSavefileManager()->openForLoading(fileName); -	 +  	if (savefile) {  		uint saveHeader = savefile->readUint32LE();  		if (saveHeader != SAVEGAME_HEADER) { @@ -178,7 +178,7 @@ SaveStateDescriptor SupernovaMetaEngine::querySaveMetaInfos(const char *target,  			delete savefile;  			return SaveStateDescriptor();  		} -		 +  		int descriptionSize = savefile->readSint16LE();  		char* description = new char[descriptionSize];  		savefile->read(description, descriptionSize); @@ -205,10 +205,10 @@ SaveStateDescriptor SupernovaMetaEngine::querySaveMetaInfos(const char *target,  		}  		delete savefile; -		 +  		return desc;  	} -	 +  	return SaveStateDescriptor();  } | 
