aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorFilippos Karapetis2009-10-16 18:16:23 +0000
committerFilippos Karapetis2009-10-16 18:16:23 +0000
commit1d679723c3182994e7d4868b14a7f394a662f0c8 (patch)
tree29a55c073acce3d8692c2d5a4008aa74f4fee11f /engines/sci
parentb43e99566ebad682d28e32fedae9606048284844 (diff)
downloadscummvm-rg350-1d679723c3182994e7d4868b14a7f394a662f0c8.tar.gz
scummvm-rg350-1d679723c3182994e7d4868b14a7f394a662f0c8.tar.bz2
scummvm-rg350-1d679723c3182994e7d4868b14a7f394a662f0c8.zip
Hide the mouse cursor when showing a video
svn-id: r45171
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/engine/kgraphics.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp
index 1dc3422923..6132753c11 100644
--- a/engines/sci/engine/kgraphics.cpp
+++ b/engines/sci/engine/kgraphics.cpp
@@ -984,6 +984,8 @@ reg_t kShowMovie(EngineState *s, int argc, reg_t *argv) {
if (argc == 1)
return NULL_REG;
+ s->_gui->hideCursor();
+
// The Windows and DOS versions use different video format as well
// as a different argument set.
if (argv[0].toUint16() == 0) {
@@ -1017,6 +1019,8 @@ reg_t kShowMovie(EngineState *s, int argc, reg_t *argv) {
delete seqDecoder;
}
+ s->_gui->showCursor();
+
return s->r_acc;
}