aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2010-06-15 10:28:21 +0000
committerEugene Sandulenko2010-06-15 10:28:21 +0000
commit968f959158ced8c1820b847e4c2b3a85d82d6e61 (patch)
treeb25b014d303da8f17d371710357e49a1e592b72e
parent4c617e8282dedf2f3c5d8c344851310665cc0be5 (diff)
downloadscummvm-rg350-968f959158ced8c1820b847e4c2b3a85d82d6e61.tar.gz
scummvm-rg350-968f959158ced8c1820b847e4c2b3a85d82d6e61.tar.bz2
scummvm-rg350-968f959158ced8c1820b847e4c2b3a85d82d6e61.zip
AGI: Fix bug #2960567.
Bug #2960567: "AGI: Ego partly erased in Load/Save thumbnails". Force screen redraw after confirmation window is closed. svn-id: r49734
-rw-r--r--engines/agi/saveload.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/agi/saveload.cpp b/engines/agi/saveload.cpp
index b7e830dc53..88e279ecf8 100644
--- a/engines/agi/saveload.cpp
+++ b/engines/agi/saveload.cpp
@@ -864,6 +864,10 @@ int AgiEngine::saveGameDialog() {
sprintf(fileName, "%s", getSavegameFilename(_firstSlot + slot));
debugC(8, kDebugLevelMain | kDebugLevelResources, "file is [%s]", fileName);
+ // Make sure all graphics was blitted to screen. This fixes bug
+ // #2960567: "AGI: Ego partly erased in Load/Save thumbnails"
+ _gfx->doUpdate();
+
int result = saveGame(fileName, desc);
if (result == errOK)