mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-23 19:16:21 +00:00
DIRECTOR: Generate start/stopMovie events
This commit is contained in:
parent
f4a439a8e8
commit
30b9a43a4c
@ -1307,6 +1307,8 @@ void Score::startLoop() {
|
||||
_stopPlay = false;
|
||||
_nextFrameTime = 0;
|
||||
|
||||
_lingo->processEvent(kEventStartMovie);
|
||||
|
||||
_frames[_currentFrame]->prepareFrame(this);
|
||||
|
||||
while (!_stopPlay) {
|
||||
@ -1322,6 +1324,8 @@ void Score::startLoop() {
|
||||
if (_currentFrame < _frames.size())
|
||||
_vm->processEvents();
|
||||
}
|
||||
|
||||
_lingo->processEvent(kEventStopMovie);
|
||||
}
|
||||
|
||||
void Score::update() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user