diff options
| author | Eugene Sandulenko | 2019-08-21 21:12:32 +0200 | 
|---|---|---|
| committer | Eugene Sandulenko | 2019-09-03 17:17:35 +0200 | 
| commit | 036ef5fdfd819cf3ddb1fef7e02575a97a8e2f53 (patch) | |
| tree | cf6fc47a132324f24557cc2fc395ca55f1b6d710 /engines/hdb/detection.cpp | |
| parent | 73b6724b929c78bdc4724b6648b03ed66a29bab7 (diff) | |
| download | scummvm-rg350-036ef5fdfd819cf3ddb1fef7e02575a97a8e2f53.tar.gz scummvm-rg350-036ef5fdfd819cf3ddb1fef7e02575a97a8e2f53.tar.bz2 scummvm-rg350-036ef5fdfd819cf3ddb1fef7e02575a97a8e2f53.zip  | |
HDB: Mark autosave slots with 'Auto:' in the GUI
Diffstat (limited to 'engines/hdb/detection.cpp')
| -rw-r--r-- | engines/hdb/detection.cpp | 9 | 
1 files changed, 7 insertions, 2 deletions
diff --git a/engines/hdb/detection.cpp b/engines/hdb/detection.cpp index 7da1e69ebe..e0d10593d8 100644 --- a/engines/hdb/detection.cpp +++ b/engines/hdb/detection.cpp @@ -22,6 +22,7 @@  #include "base/plugins.h" +#include "common/debug.h"  #include "common/translation.h"  #include "engines/advancedDetector.h" @@ -236,11 +237,15 @@ SaveStateList HDBMetaEngine::listSaves(const char *target) const {  				uint32 timeSeconds = in->readUint32LE();;  				in->read(mapName, 32); -				warning("mapName: %s playtime: %d", mapName, timeSeconds); +				debug(1, "mapName: %s playtime: %d", mapName, timeSeconds);  				desc.setSaveSlot(slotNum);  				desc.setPlayTime(timeSeconds * 1000); -				desc.setDescription(mapName); + +				if (slotNum < 8) +					desc.setDescription(Common::String::format("Auto: %s", mapName)); +				else +					desc.setDescription(mapName);  				saveList.push_back(desc);  			}  | 
