diff options
author | Max Horn | 2004-01-04 01:11:23 +0000 |
---|---|---|
committer | Max Horn | 2004-01-04 01:11:23 +0000 |
commit | 87abee70c1b51258c783eeaa2e3c08d15fdbb1ed (patch) | |
tree | 201a8f7e3d01c3675b0150ecabb31a17f373a17e | |
parent | b9292bafe135b05503093d685f932caa54a0a30f (diff) | |
download | scummvm-rg350-87abee70c1b51258c783eeaa2e3c08d15fdbb1ed.tar.gz scummvm-rg350-87abee70c1b51258c783eeaa2e3c08d15fdbb1ed.tar.bz2 scummvm-rg350-87abee70c1b51258c783eeaa2e3c08d15fdbb1ed.zip |
remove this HACK workaround - I think I may have fixed the true cause (we'll see)
svn-id: r12124
-rw-r--r-- | scumm/gfx.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp index 4984955de0..fffd2f0b3a 100644 --- a/scumm/gfx.cpp +++ b/scumm/gfx.cpp @@ -2293,6 +2293,7 @@ void ScummEngine::transitionEffect(int a) { while (l <= r) { if (l >= 0 && l < gdi._numStrips && (uint) t < (uint) bottom) { virtscr[0].tdirty[l] = t * 8; +/* //HACK: this is bad place of this hack //it fix redraw last 8 lines in room gfx layer //this is only for maniac classic version becouse that game @@ -2300,6 +2301,7 @@ void ScummEngine::transitionEffect(int a) { if ((_version == 1) && (_gameId == GID_MANIAC)) virtscr[0].bdirty[l] = (t + 2) * 8; else +*/ virtscr[0].bdirty[l] = (t + 1) * 8; } l++; @@ -2312,13 +2314,14 @@ void ScummEngine::transitionEffect(int a) { if (t < 0) t = 0; virtscr[0].tdirty[l] = t * 8; - //HACK: this is bad place of this hack +/* //HACK: this is bad place of this hack //it fix redraw last 8 lines in room gfx layer //this is only for maniac classic version becouse that game //has bigger height of room gfx layer if ((_version == 1) && (_gameId == GID_MANIAC)) virtscr[0].bdirty[l] = (b + 2) * 8; else +*/ virtscr[0].bdirty[l] = (b + 1) * 8; } updateDirtyScreen(kMainVirtScreen); |