Hide the mouse cursor when showing a video
svn-id: r45171
This commit is contained in:
parent
b43e99566e
commit
1d679723c3
1 changed files with 4 additions and 0 deletions
|
@ -984,6 +984,8 @@ reg_t kShowMovie(EngineState *s, int argc, reg_t *argv) {
|
||||||
if (argc == 1)
|
if (argc == 1)
|
||||||
return NULL_REG;
|
return NULL_REG;
|
||||||
|
|
||||||
|
s->_gui->hideCursor();
|
||||||
|
|
||||||
// The Windows and DOS versions use different video format as well
|
// The Windows and DOS versions use different video format as well
|
||||||
// as a different argument set.
|
// as a different argument set.
|
||||||
if (argv[0].toUint16() == 0) {
|
if (argv[0].toUint16() == 0) {
|
||||||
|
@ -1017,6 +1019,8 @@ reg_t kShowMovie(EngineState *s, int argc, reg_t *argv) {
|
||||||
delete seqDecoder;
|
delete seqDecoder;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
s->_gui->showCursor();
|
||||||
|
|
||||||
return s->r_acc;
|
return s->r_acc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue