aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/zvision/animation_control.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/zvision/animation_control.cpp b/engines/zvision/animation_control.cpp
index f80faea0f9..bb810a86d0 100644
--- a/engines/zvision/animation_control.cpp
+++ b/engines/zvision/animation_control.cpp
@@ -118,7 +118,7 @@ bool AnimationControl::process(uint32 deltaTimeInMillis) {
delete tranposedFrame;
}
} else {
- renderManager->copyRectToWorkingWindow((uint16 *)frame->getBasePtr(frame->w - subRect.width(), frame->h - subRect.height()), subRect.left, subRect.top, _animation.rlf->width(), subRect.width(), subRect.height());
+ renderManager->copyRectToWorkingWindow((const uint16 *)frame->getBasePtr(frame->w - subRect.width(), frame->h - subRect.height()), subRect.left, subRect.top, _animation.rlf->width(), subRect.width(), subRect.height());
// If the background can move, we need to cache the last frame so it can be rendered during background movement
if (state == RenderTable::PANORAMA || state == RenderTable::TILT) {
@@ -202,7 +202,7 @@ bool AnimationControl::process(uint32 deltaTimeInMillis) {
delete tranposedFrame;
}
} else {
- renderManager->copyRectToWorkingWindow((uint16 *)frame->getBasePtr(frame->w - subRect.width(), frame->h - subRect.height()), subRect.left, subRect.top, frame->w, subRect.width(), subRect.height());
+ renderManager->copyRectToWorkingWindow((const uint16 *)frame->getBasePtr(frame->w - subRect.width(), frame->h - subRect.height()), subRect.left, subRect.top, frame->w, subRect.width(), subRect.height());
// If the background can move, we need to cache the last frame so it can be rendered during background movement
if (state == RenderTable::PANORAMA || state == RenderTable::TILT) {