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 committed Aug 6, 2018
1 parent bb995bc commit 40c376ca05030f539f14d11aa01004e4d8684e6b
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 40c376c

Please sign in to comment.