From e50a7be7defca39b89941a7bade023db87e6bf01 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sun, 10 Mar 2013 22:09:29 -0400 Subject: [PATCH] HOPKINS: Further fix for dirty area display in-game --- engines/hopkins/graphics.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/engines/hopkins/graphics.cpp b/engines/hopkins/graphics.cpp index af142ac2c39..bad67603c5e 100644 --- a/engines/hopkins/graphics.cpp +++ b/engines/hopkins/graphics.cpp @@ -438,7 +438,7 @@ void GraphicsManager::m_scroll16(const byte *surface, int xs, int ys, int width, } unlockScreen(); - addRefreshRect(xs, ys, xs + width, ys + height); + addRefreshRect(destX, destY, destX + width, destY + height); } // TODO: See if PAL_PIXELS can be converted to a uint16 array @@ -498,7 +498,7 @@ void GraphicsManager::m_scroll16A(const byte *surface, int xs, int ys, int width yNext = yCtr - 1; } while (yCtr != 1); - addRefreshRect(xs, ys, xs + width, ys + width); + addRefreshRect(destX, destY, destX + width, destY + width); } void GraphicsManager::Copy_Vga16(const byte *surface, int xp, int yp, int width, int height, int destX, int destY) { @@ -537,7 +537,7 @@ void GraphicsManager::Copy_Vga16(const byte *surface, int xp, int yp, int width, yCount = yCtr - 1; } while (yCtr != 1); - addRefreshRect(xp, yp, xp + width, yp + width); + addRefreshRect(destX, destY, destX + width, destY + width); } /**