diff options
author | Vincent Hamm | 2002-04-24 14:13:09 +0000 |
---|---|---|
committer | Vincent Hamm | 2002-04-24 14:13:09 +0000 |
commit | ca4262ec0cfad67af104dd8246c9a9a5d5b93c63 (patch) | |
tree | 86fe8a4701657d51a08ab90c262c27e19d9bad46 /gfx.cpp | |
parent | d97a8e547ab014ce3c2bfef2b8f89cfe6cce37d2 (diff) | |
download | scummvm-rg350-ca4262ec0cfad67af104dd8246c9a9a5d5b93c63.tar.gz scummvm-rg350-ca4262ec0cfad67af104dd8246c9a9a5d5b93c63.tar.bz2 scummvm-rg350-ca4262ec0cfad67af104dd8246c9a9a5d5b93c63.zip |
Fixed transition effects in non V7 games
svn-id: r4073
Diffstat (limited to 'gfx.cpp')
-rw-r--r-- | gfx.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -182,10 +182,8 @@ void Gdi::updateDirtyScreen(VirtScreen * vs) for (i = 0; i < 40; i++) { bottom = vs->bdirty[i]; - if (_vm->camera._cur.y != _vm->camera._last.y) - + if (_vm->_features & GF_AFTER_V7 && (_vm->camera._cur.y != _vm->camera._last.y)) drawStripToScreen(vs, start, w, 0, vs->height); - else if (bottom) { top = vs->tdirty[i]; @@ -196,9 +194,10 @@ void Gdi::updateDirtyScreen(VirtScreen * vs) w += 8; continue; } - // drawStripToScreen(vs, start, w, top, bottom); - - drawStripToScreen(vs, start, w, 0, vs->height); + if(_vm->_features & GF_AFTER_V7) + drawStripToScreen(vs, start, w, 0, vs->height); + else + drawStripToScreen(vs, start, w, top, bottom); w = 8; } start = i + 1; |