aboutsummaryrefslogtreecommitdiff
path: root/engines/cge/detection.cpp
diff options
context:
space:
mode:
authorDavid Fioramonti2018-07-06 15:37:46 -0700
committerEugene Sandulenko2018-08-03 14:52:47 +0200
commitf06cf65479aa56488a5bfd996545c6ff5b53340a (patch)
treee5ddc59db88007da86b6f33625abee2662d932a7 /engines/cge/detection.cpp
parent5cf3b75deb345b6e76699a208dd94d4cfcb4ea12 (diff)
downloadscummvm-rg350-f06cf65479aa56488a5bfd996545c6ff5b53340a.tar.gz
scummvm-rg350-f06cf65479aa56488a5bfd996545c6ff5b53340a.tar.bz2
scummvm-rg350-f06cf65479aa56488a5bfd996545c6ff5b53340a.zip
TINSEL: Add playTime to saved game and display it
Also bumps the saved game format version to 3. I changed the order of how the data is saved so that the playtime could be read in without skipping as much data. This is because querySaveMetaInfos only needs the metafields where as saveload::DoRestore() needs more of the header. A crash was happening when trying to delete a saved game from the launcher. It is because the engine is not initalized. I assign a dummy value to resolve the issue. Loading saved games from previous versions works. When an old version saved game is loaded it will start with zero playtime. Old saved games are shown as not having playtime data.
Diffstat (limited to 'engines/cge/detection.cpp')
0 files changed, 0 insertions, 0 deletions