aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/introproc_ihnm.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2012-06-16 02:36:01 +0200
committerJohannes Schickel2012-06-16 02:39:00 +0200
commitebb5cb7e4c6266e99382792f6c3d65868f5bc5e9 (patch)
treebd8dc07c8423045da696d9859042a0a5ad67f56a /engines/saga/introproc_ihnm.cpp
parentd214391431300e3be72dcf4690e996b0558ec6f2 (diff)
downloadscummvm-rg350-ebb5cb7e4c6266e99382792f6c3d65868f5bc5e9.tar.gz
scummvm-rg350-ebb5cb7e4c6266e99382792f6c3d65868f5bc5e9.tar.bz2
scummvm-rg350-ebb5cb7e4c6266e99382792f6c3d65868f5bc5e9.zip
SAGA: Get rid of casts on OSystem::copyRectToScreen calls.
Diffstat (limited to 'engines/saga/introproc_ihnm.cpp')
-rw-r--r--engines/saga/introproc_ihnm.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/saga/introproc_ihnm.cpp b/engines/saga/introproc_ihnm.cpp
index 364c4cf306..6015e6757a 100644
--- a/engines/saga/introproc_ihnm.cpp
+++ b/engines/saga/introproc_ihnm.cpp
@@ -212,7 +212,7 @@ bool Scene::playTitle(int title, int time, int mode) {
break;
case 2: // display background
- _vm->_system->copyRectToScreen((byte *)backBufferSurface->pixels, backBufferSurface->w, 0, 0,
+ _vm->_system->copyRectToScreen(backBufferSurface->pixels, backBufferSurface->w, 0, 0,
backBufferSurface->w, backBufferSurface->h);
phase++;
startTime = curTime;
@@ -247,7 +247,7 @@ bool Scene::playTitle(int title, int time, int mode) {
frameTime = curTime;
- _vm->_system->copyRectToScreen((byte *)backBufferSurface->pixels, backBufferSurface->w, 0, 0,
+ _vm->_system->copyRectToScreen(backBufferSurface->pixels, backBufferSurface->w, 0, 0,
backBufferSurface->w, backBufferSurface->h);
}
@@ -274,7 +274,7 @@ bool Scene::playTitle(int title, int time, int mode) {
_vm->_anim->endVideo();
memset((byte *)backBufferSurface->pixels, 0, backBufferSurface->w * backBufferSurface->h);
- _vm->_system->copyRectToScreen((byte *)backBufferSurface->pixels, backBufferSurface->w, 0, 0,
+ _vm->_system->copyRectToScreen(backBufferSurface->pixels, backBufferSurface->w, 0, 0,
backBufferSurface->w, backBufferSurface->h);
return interrupted;