Permalink
Browse files

TINSEL: Fix displayed saved game month off by one

This corrects the displayed month for querySaveMetaInfos being a month
behind.
  • Loading branch information...
dafioram authored and dreammaster committed Aug 6, 2018
1 parent f442296 commit b47cae789b5ccfbf3999c870d372081ad9c50629
Showing with 1 addition and 1 deletion.
  1. +1 −1 engines/tinsel/detection.cpp
@@ -159,7 +159,7 @@ SaveStateDescriptor TinselMetaEngine::querySaveMetaInfos(const char *target, int
int8 tm_min = file->readSByte();
file->readSByte(); // skip secs
desc.setSaveDate(1900+tm_year, tm_mon, tm_mday);
desc.setSaveDate(1900 + tm_year, 1 + tm_mon, tm_mday);
desc.setSaveTime(tm_hour, tm_min);
if (ver >= 3) {

0 comments on commit b47cae7

Please sign in to comment.