mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-03 09:23:37 +00:00
TINSEL: Fix displayed saved game month off by one
This corrects the displayed month for querySaveMetaInfos being a month behind.
This commit is contained in:
parent
f442296949
commit
b47cae789b
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user