aboutsummaryrefslogtreecommitdiff
path: root/engines/toltecs/toltecs.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2012-06-16 02:37:55 +0200
committerJohannes Schickel2012-06-16 02:39:00 +0200
commit72f1fb0bed17106fa4d3b437699bc1bc9db62192 (patch)
tree85ab41506882ab10e8a0c02c677f9db67ee9f8a3 /engines/toltecs/toltecs.cpp
parentf3c66a191f528004ea063025513dcd3a7d2d5d04 (diff)
downloadscummvm-rg350-72f1fb0bed17106fa4d3b437699bc1bc9db62192.tar.gz
scummvm-rg350-72f1fb0bed17106fa4d3b437699bc1bc9db62192.tar.bz2
scummvm-rg350-72f1fb0bed17106fa4d3b437699bc1bc9db62192.zip
TOLTECS: Get rid of casts on OSystem::copyRectToScreen calls.
Diffstat (limited to 'engines/toltecs/toltecs.cpp')
-rw-r--r--engines/toltecs/toltecs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/toltecs/toltecs.cpp b/engines/toltecs/toltecs.cpp
index d403e0499b..6d6c37dffd 100644
--- a/engines/toltecs/toltecs.cpp
+++ b/engines/toltecs/toltecs.cpp
@@ -300,7 +300,7 @@ void ToltecsEngine::drawScreen() {
if (_screen->_guiRefresh && _guiHeight > 0 && _cameraHeight > 0) {
// Update the GUI when needed and it's visible
- _system->copyRectToScreen((const byte *)_screen->_frontScreen + _cameraHeight * 640,
+ _system->copyRectToScreen(_screen->_frontScreen + _cameraHeight * 640,
640, 0, _cameraHeight, 640, _guiHeight);
_screen->_guiRefresh = false;
}