svn-id: r17296
This commit is contained in:
Travis Howell 2005-03-30 14:54:23 +00:00
parent 644bced723
commit b5eb59dff1
2 changed files with 3 additions and 1 deletions

View File

@ -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;

View File

@ -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;