aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/inter_v6.cpp
diff options
context:
space:
mode:
authorSven Hesse2011-01-20 05:19:41 +0000
committerSven Hesse2011-01-20 05:19:41 +0000
commitbd3f9ad1e21a791dafee1943099492d6b49d32be (patch)
tree3b9f88ea1d9e10159f0944985ef44a83143a4393 /engines/gob/inter_v6.cpp
parent82b0a9b003b8bcbe0eff8789acd19cbcd1cf7575 (diff)
downloadscummvm-rg350-bd3f9ad1e21a791dafee1943099492d6b49d32be.tar.gz
scummvm-rg350-bd3f9ad1e21a791dafee1943099492d6b49d32be.tar.bz2
scummvm-rg350-bd3f9ad1e21a791dafee1943099492d6b49d32be.zip
GOB: Use Surface::blit() in VideoPlayer::copyFrame()
svn-id: r55344
Diffstat (limited to 'engines/gob/inter_v6.cpp')
-rw-r--r--engines/gob/inter_v6.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/gob/inter_v6.cpp b/engines/gob/inter_v6.cpp
index 0ae08dc387..561996dcfc 100644
--- a/engines/gob/inter_v6.cpp
+++ b/engines/gob/inter_v6.cpp
@@ -244,10 +244,9 @@ bool Inter_v6::o6_loadCursor(OpFuncParams &params) {
props.waitEndFrame = false;
_vm->_vidPlayer->play(vmdSlot, props);
- _vm->_vidPlayer->copyFrame(vmdSlot, _vm->_draw->_cursorSprites->getData(),
+ _vm->_vidPlayer->copyFrame(vmdSlot, *_vm->_draw->_cursorSprites,
0, 0, _vm->_draw->_cursorWidth, _vm->_draw->_cursorWidth,
- (start + i) * _vm->_draw->_cursorWidth, 0,
- _vm->_draw->_cursorSprites->getWidth() * 2, 2);
+ (start + i) * _vm->_draw->_cursorWidth, 0);
}
_vm->_vidPlayer->closeVideo(vmdSlot);