diff options
author | Eugene Sandulenko | 2019-07-31 12:59:50 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:30 +0200 |
commit | a7828397af799209591cf2b2c3bead0ecf42f376 (patch) | |
tree | f0f2729723f214606075f1296e749f445a3ea57d /engines/hdb/gfx.cpp | |
parent | f3d0bca83a215e836cbac2fa8aae9371fe9c84ca (diff) | |
download | scummvm-rg350-a7828397af799209591cf2b2c3bead0ecf42f376.tar.gz scummvm-rg350-a7828397af799209591cf2b2c3bead0ecf42f376.tar.bz2 scummvm-rg350-a7828397af799209591cf2b2c3bead0ecf42f376.zip |
HDB: Made rendering pipeline to match original
Diffstat (limited to 'engines/hdb/gfx.cpp')
-rw-r--r-- | engines/hdb/gfx.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/hdb/gfx.cpp b/engines/hdb/gfx.cpp index 987a567e3c..cc43b06b54 100644 --- a/engines/hdb/gfx.cpp +++ b/engines/hdb/gfx.cpp @@ -254,6 +254,8 @@ void Gfx::updateVideo() { if (!clip.isEmpty()) { g_system->copyRectToScreen(g_hdb->_gfx->_globalSurface.getBasePtr(clip.left, clip.top), g_hdb->_gfx->_globalSurface.pitch, clip.left, clip.top, clip.width(), clip.height()); } + + g_system->updateScreen(); } void Gfx::drawPointer() { @@ -303,6 +305,9 @@ void Gfx::updateFade() { if (!_fadeInfo.active && !_fadeInfo.stayFaded) return; + debug(7, "updateFade: active: %d stayFaded: %d isBlack: %d speed: %d isFadeIn: %d curStep: %d", _fadeInfo.active, + _fadeInfo.stayFaded, _fadeInfo.isBlack, _fadeInfo.speed, _fadeInfo.isFadeIn, _fadeInfo.curStep); + Graphics::ManagedSurface fadeBuffer1, fadeBuffer2; fadeBuffer1.create(g_hdb->_screenWidth, g_hdb->_screenHeight, g_hdb->_format); fadeBuffer2.create(g_hdb->_screenWidth, g_hdb->_screenHeight, g_hdb->_format); |