aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlyssa Milburn2012-08-24 19:15:58 +0200
committerAlyssa Milburn2012-08-25 08:41:21 +0200
commitaa603bc208c6b26e78e66d66a120a24ba80c28c4 (patch)
tree04c4753c1e6d20262d01c539155d828d8b263287
parent7815c0522094b058409974618867d683b86564d1 (diff)
downloadscummvm-rg350-aa603bc208c6b26e78e66d66a120a24ba80c28c4.tar.gz
scummvm-rg350-aa603bc208c6b26e78e66d66a120a24ba80c28c4.tar.bz2
scummvm-rg350-aa603bc208c6b26e78e66d66a120a24ba80c28c4.zip
TONY: Mark screen dirty in RMGfxClearTask.
This fixes the "A LONG TIME AFTER..." screen when talking to the old woman in the booth. Thanks to eriktorbjorn for noticing it.
-rw-r--r--engines/tony/gfxcore.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/tony/gfxcore.cpp b/engines/tony/gfxcore.cpp
index 06c74dd231..27b90b7d48 100644
--- a/engines/tony/gfxcore.cpp
+++ b/engines/tony/gfxcore.cpp
@@ -2057,6 +2057,7 @@ int RMGfxClearTask::priority() {
void RMGfxClearTask::draw(CORO_PARAM, RMGfxTargetBuffer &bigBuf, RMGfxPrimitive *) {
// Clean the target buffer
Common::fill((byte *)bigBuf, (byte *)bigBuf + (bigBuf.getDimx() * bigBuf.getDimy() * 2), 0x0);
+ bigBuf.addDirtyRect(Common::Rect(bigBuf.getDimx(), bigBuf.getDimy()));
}
void RMGfxClearTask::removeThis(CORO_PARAM, bool &result) {