diff options
author | Travis Howell | 2005-03-30 14:54:23 +0000 |
---|---|---|
committer | Travis Howell | 2005-03-30 14:54:23 +0000 |
commit | b5eb59dff1c94dead763bb45e27e94cc829d6f4d (patch) | |
tree | 6ca9849a0a010849677cf3c30432095e26decbd0 | |
parent | 644bced723ad9820fa26e7469391e62ae25dae5c (diff) | |
download | scummvm-rg350-b5eb59dff1c94dead763bb45e27e94cc829d6f4d.tar.gz scummvm-rg350-b5eb59dff1c94dead763bb45e27e94cc829d6f4d.tar.bz2 scummvm-rg350-b5eb59dff1c94dead763bb45e27e94cc829d6f4d.zip |
Ooops
svn-id: r17296
-rw-r--r-- | scumm/akos.cpp | 2 | ||||
-rw-r--r-- | scumm/wiz_he.cpp | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/scumm/akos.cpp b/scumm/akos.cpp index dc33dec3b4..18145d8580 100644 --- a/scumm/akos.cpp +++ b/scumm/akos.cpp @@ -1249,7 +1249,7 @@ byte AkosRenderer::codec32(int xmoveCur, int ymoveCur) { dst.bottom -= diff; } - _vm->markRectAsDirty(kMainVirtScreen, dst); + markRectAsDirty(dst); if (_draw_top > dst.top) _draw_top = dst.top; diff --git a/scumm/wiz_he.cpp b/scumm/wiz_he.cpp index a1cda1d065..83979cbe50 100644 --- a/scumm/wiz_he.cpp +++ b/scumm/wiz_he.cpp @@ -231,6 +231,8 @@ void Wiz::copyAuxImage(uint8 *dst1, uint8 *dst2, const uint8 *src, int dstw, int } static bool calcClipRects(int dst_w, int dst_h, int src_x, int src_y, int src_w, int src_h, const Common::Rect *rect, Common::Rect &srcRect, Common::Rect &dstRect) { + srcRect = Common::Rect(0, 0, src_w, src_h); + dstRect = Common::Rect(src_x, src_y, src_x + src_w, src_y + src_h); Common::Rect r3; int diff; |