mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-19 00:15:30 +00:00
Save the context of a suspended list before resuming the execution, so that it can safely be suspended again. Patch 3004652 by fuzzie.
svn-id: r50037
This commit is contained in:
parent
f4b700c4c4
commit
61c40e2bd4
@ -193,8 +193,10 @@ void CommandExec::runSuspended() {
|
||||
debugC(3, kDebugExec, "CommandExec::runSuspended()");
|
||||
|
||||
_execZone = _suspendedCtxt._zone;
|
||||
runList(_suspendedCtxt._first, _suspendedCtxt._last);
|
||||
CommandList::iterator first = _suspendedCtxt._first;
|
||||
CommandList::iterator last = _suspendedCtxt._last;
|
||||
cleanSuspendedList();
|
||||
runList(first, last);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user