mirror of
https://github.com/libretro/scummvm.git
synced 2025-05-13 09:36:21 +00:00
Hide the mouse cursor while a movie plays.
svn-id: r32080
This commit is contained in:
parent
83987b0cfd
commit
f03a27747c
@ -584,7 +584,9 @@ int16 ScriptFunctionsRtz::o1_TEXTWIDTH(int16 argc, int16 *argv) {
|
|||||||
|
|
||||||
int16 ScriptFunctionsRtz::o1_PLAYMOVIE(int16 argc, int16 *argv) {
|
int16 ScriptFunctionsRtz::o1_PLAYMOVIE(int16 argc, int16 *argv) {
|
||||||
const char *movieName = _vm->_dat->getObject(argv[1])->getString();
|
const char *movieName = _vm->_dat->getObject(argv[1])->getString();
|
||||||
|
_vm->_system->showMouse(false);
|
||||||
_vm->_pmvPlayer->play(movieName);
|
_vm->_pmvPlayer->play(movieName);
|
||||||
|
_vm->_system->showMouse(true);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user