[Scummvm-git-logs] scummvm master -> 690c792c8cea26f1c441924e3f29ad6fc2dd155e

dreammaster dreammaster at scummvm.org
Thu Jul 27 02:08:03 CEST 2017


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
690c792c8c TITANIC: Redraw screen after using PET to load a savegame


Commit: 690c792c8cea26f1c441924e3f29ad6fc2dd155e
    https://github.com/scummvm/scummvm/commit/690c792c8cea26f1c441924e3f29ad6fc2dd155e
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2017-07-26T20:07:55-04:00

Commit Message:
TITANIC: Redraw screen after using PET to load a savegame

Changed paths:
    engines/titanic/main_game_window.cpp


diff --git a/engines/titanic/main_game_window.cpp b/engines/titanic/main_game_window.cpp
index 1d35f8e..6cbcba0 100644
--- a/engines/titanic/main_game_window.cpp
+++ b/engines/titanic/main_game_window.cpp
@@ -158,6 +158,9 @@ void CMainGameWindow::draw() {
 			_project->loadGame(_pendingLoadSlot);
 			_pendingLoadSlot = -1;
 
+			_gameManager->markAllDirty();
+			scrManager->setSurfaceBounds(SURFACE_PRIMARY, Rect(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT));
+
 			// Intentional fall-through
 			// to draw loaded game
 





More information about the Scummvm-git-logs mailing list