From 037920bf76bbf9320b5a96d8f98720e253a0956e Mon Sep 17 00:00:00 2001 From: Alyssa Milburn Date: Mon, 27 Aug 2012 12:30:02 +0200 Subject: TONY: Fix width of flipped dirty rects. --- engines/tony/gfxcore.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/tony') diff --git a/engines/tony/gfxcore.cpp b/engines/tony/gfxcore.cpp index 806f4d07bb..406ed8043b 100644 --- a/engines/tony/gfxcore.cpp +++ b/engines/tony/gfxcore.cpp @@ -931,7 +931,7 @@ void RMGfxSourceBuffer8RLE::draw(CORO_PARAM, RMGfxTargetBuffer &bigBuf, RMGfxPri width = x1; // Specify the drawn area - bigBuf.addDirtyRect(Common::Rect(x1 - width, y1, x1, y1 + height)); + bigBuf.addDirtyRect(Common::Rect(x1 - width, y1, x1 + 1, y1 + height)); for (y = 0; y < height; y++) { // Decompression @@ -1725,7 +1725,7 @@ void RMGfxSourceBuffer8AA::drawAA(RMGfxTargetBuffer &bigBuf, RMGfxPrimitive *pri width = x1; // Specify the drawn area - bigBuf.addDirtyRect(Common::Rect(x1 - width, y1, x1, y1 + height)); + bigBuf.addDirtyRect(Common::Rect(x1 - width, y1, x1 + 1, y1 + height)); } else { // Specify the drawn area bigBuf.addDirtyRect(Common::Rect(x1, y1, x1 + width, y1 + height)); -- cgit v1.2.3