diff options
author | richiesams | 2013-08-18 16:09:08 -0500 |
---|---|---|
committer | richiesams | 2013-08-18 19:53:06 -0500 |
commit | 2fcba2743c1670ba8a7428945714e896238e082e (patch) | |
tree | 90eca9c275d546a6d4030762c8b228726dfac924 /engines/zvision | |
parent | 4d5914ac2157073339b0c348345dedbffd5ee030 (diff) | |
download | scummvm-rg350-2fcba2743c1670ba8a7428945714e896238e082e.tar.gz scummvm-rg350-2fcba2743c1670ba8a7428945714e896238e082e.tar.bz2 scummvm-rg350-2fcba2743c1670ba8a7428945714e896238e082e.zip |
ZVISION: Don't cast away const qualifier
Diffstat (limited to 'engines/zvision')
-rw-r--r-- | engines/zvision/video.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/zvision/video.cpp b/engines/zvision/video.cpp index 28c26f6f2a..4066c5dcd5 100644 --- a/engines/zvision/video.cpp +++ b/engines/zvision/video.cpp @@ -148,10 +148,10 @@ void ZVision::playVideo(Video::VideoDecoder &videoDecoder, const Common::Rect &d if (frame) { if (scale != 1) { - scaleBuffer((byte *)frame->getBasePtr(0, 0), scaledVideoFrameBuffer, origWidth, origHeight, bytesPerPixel, scale); + scaleBuffer((const byte *)frame->getBasePtr(0, 0), scaledVideoFrameBuffer, origWidth, origHeight, bytesPerPixel, scale); _system->copyRectToScreen(scaledVideoFrameBuffer, pitch * 2, x, y, finalWidth, finalHeight); } else { - _system->copyRectToScreen((byte *)frame->getBasePtr(0, 0), pitch, x, y, finalWidth, finalHeight); + _system->copyRectToScreen((const byte *)frame->getBasePtr(0, 0), pitch, x, y, finalWidth, finalHeight); } _system->updateScreen(); |