mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-25 13:42:37 +00:00
My recent change to _draw_bottom caused a regression in The Dig (and maybe elsewhere). Ah well, probably better to draw one line more than one line less anyway
svn-id: r13462
This commit is contained in:
parent
70237e74c9
commit
4de4353c39
@ -732,8 +732,8 @@ byte AkosRenderer::codec1(int xmoveCur, int ymoveCur) {
|
||||
|
||||
if (_draw_top > rect.top)
|
||||
_draw_top = rect.top;
|
||||
if (_draw_bottom < rect.bottom - 1)
|
||||
_draw_bottom = rect.bottom - 1;
|
||||
if (_draw_bottom < rect.bottom)
|
||||
_draw_bottom = rect.bottom;
|
||||
|
||||
v1.destptr = _outptr + v1.y * _outwidth + v1.x;
|
||||
|
||||
@ -776,8 +776,8 @@ byte AkosRenderer::codec5(int xmoveCur, int ymoveCur) {
|
||||
|
||||
if (_draw_top > clip.top)
|
||||
_draw_top = clip.top;
|
||||
if (_draw_bottom < clip.bottom - 1)
|
||||
_draw_bottom = clip.bottom - 1;
|
||||
if (_draw_bottom < clip.bottom)
|
||||
_draw_bottom = clip.bottom;
|
||||
|
||||
BompDrawData bdd;
|
||||
|
||||
|
@ -262,8 +262,8 @@ byte CostumeRenderer::mainRoutine(int xmoveCur, int ymoveCur) {
|
||||
|
||||
if (_draw_top > rect.top)
|
||||
_draw_top = rect.top;
|
||||
if (_draw_bottom < rect.bottom - 1)
|
||||
_draw_bottom = rect.bottom - 1;
|
||||
if (_draw_bottom < rect.bottom)
|
||||
_draw_bottom = rect.bottom;
|
||||
|
||||
if (_height + rect.top >= 256) {
|
||||
CHECK_HEAP
|
||||
|
Loading…
x
Reference in New Issue
Block a user