diff options
author | Filippos Karapetis | 2010-01-11 09:28:00 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-01-11 09:28:00 +0000 |
commit | 8c4e0de67d5ed59754b7acc6a1890e3b253b242f (patch) | |
tree | 0d3e76ba058d9f60980ca7dfe70ef348bf3022d9 /engines | |
parent | 403c2f31bb9688a3284463913e97e9e2e4f85774 (diff) | |
download | scummvm-rg350-8c4e0de67d5ed59754b7acc6a1890e3b253b242f.tar.gz scummvm-rg350-8c4e0de67d5ed59754b7acc6a1890e3b253b242f.tar.bz2 scummvm-rg350-8c4e0de67d5ed59754b7acc6a1890e3b253b242f.zip |
Hide the mouse cursor while a video is being played
svn-id: r47240
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/engine/kgraphics.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp index de02b96dca..4a0a8bc483 100644 --- a/engines/sci/engine/kgraphics.cpp +++ b/engines/sci/engine/kgraphics.cpp @@ -1000,6 +1000,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) { @@ -1040,6 +1042,8 @@ reg_t kShowMovie(EngineState *s, int argc, reg_t *argv) { if (playedVideo) s->_gui->syncWithFramebuffer(); + s->_gui->showCursor(); + return s->r_acc; } |