diff options
author | Einar Johan Trøan Sømåen | 2013-02-01 00:27:01 +0100 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2013-02-01 00:48:30 +0100 |
commit | fcc33c22d869f7015cbac8d2e794040cae73e9ba (patch) | |
tree | eb4df7304f84754e2d1fcdc045371f7b7b78859a /engines | |
parent | 0407906bfa9a0c778a0b1dd678cf5771133533d1 (diff) | |
download | scummvm-rg350-fcc33c22d869f7015cbac8d2e794040cae73e9ba.tar.gz scummvm-rg350-fcc33c22d869f7015cbac8d2e794040cae73e9ba.tar.bz2 scummvm-rg350-fcc33c22d869f7015cbac8d2e794040cae73e9ba.zip |
WINTERMUTE: Force the screen to black after loading/saving.
Diffstat (limited to 'engines')
-rw-r--r-- | engines/wintermute/base/gfx/osystem/base_render_osystem.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp b/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp index cec594535f..061f52776e 100644 --- a/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp +++ b/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp @@ -650,6 +650,10 @@ void BaseRenderOSystem::endSaveLoad() { // so just skip this single frame. _skipThisFrame = true; _drawNum = 1; + + _renderSurface->fillRect(Common::Rect(0, 0, _renderSurface->h, _renderSurface->w), _renderSurface->format.ARGBToColor(255, 0, 0, 0)); + g_system->copyRectToScreen((byte *)_renderSurface->pixels, _renderSurface->pitch, 0, 0, _renderSurface->w, _renderSurface->h); + g_system->updateScreen(); } bool BaseRenderOSystem::startSpriteBatch() { |