mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-05 17:20:30 +00:00
DIRECTOR: LINGO: Kill Lingo execution on quit
This commit is contained in:
parent
5d1976843e
commit
8f84937256
@ -597,8 +597,11 @@ void Lingo::execute(uint pc) {
|
||||
}
|
||||
|
||||
// process events every so often
|
||||
if (counter % 100 == 0)
|
||||
if (counter % 100 == 0) {
|
||||
_vm->processEvents();
|
||||
if (_vm->getCurrentMovie()->getScore()->_playState == kPlayStopped)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
_abort = false;
|
||||
|
Loading…
Reference in New Issue
Block a user