CINE: Fix autosave thumbnail generating.

Using the current screen contents for autosaves now.
For non-autosaves the screen contents before opening
the system menu are used.
This commit is contained in:
Kari Salminen 2020-08-01 18:45:07 +03:00 committed by Eugene Sandulenko
parent 24c7e0e70c
commit f1809916a4

View File

@ -1026,7 +1026,7 @@ void CineEngine::makeSave(const Common::String &saveFileName, uint32 playtime,
}
renderer->saveBackBuffer(BEFORE_TAKING_THUMBNAIL);
if (renderer->hasSavedBackBuffer(BEFORE_OPENING_MENU)) {
if (!isAutosave && renderer->hasSavedBackBuffer(BEFORE_OPENING_MENU)) {
renderer->popSavedBackBuffer(BEFORE_OPENING_MENU);
}