aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2019-07-13 17:03:42 +0200
committerEugene Sandulenko2019-09-03 17:17:19 +0200
commit74d0c5daed408c6ee709dffd62e921abcbb3a15f (patch)
tree57e007c0e73a50057da9153ac40af33985ac8b3a
parent8c48bf972d5b1ad8785b7bbf1a078156492f15fb (diff)
downloadscummvm-rg350-74d0c5daed408c6ee709dffd62e921abcbb3a15f.tar.gz
scummvm-rg350-74d0c5daed408c6ee709dffd62e921abcbb3a15f.tar.bz2
scummvm-rg350-74d0c5daed408c6ee709dffd62e921abcbb3a15f.zip
HDB: Fix Gfx::updateVideo()
-rw-r--r--engines/hdb/gfx.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/engines/hdb/gfx.cpp b/engines/hdb/gfx.cpp
index 855d6998e7..cc78c496c1 100644
--- a/engines/hdb/gfx.cpp
+++ b/engines/hdb/gfx.cpp
@@ -198,9 +198,6 @@ void Gfx::fillScreen(uint32 color) {
}
void Gfx::updateVideo() {
-
- uint32 timer = g_system->getMillis();
-
updateFade();
g_hdb->checkProgress();
@@ -215,8 +212,6 @@ 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());
}
-
- while (g_system->getMillis() - timer < 16) {};
}
void Gfx::drawPointer() {