SCI: Removed the restoring parameter of the run_vm() function

svn-id: r51076
This commit is contained in:
Filippos Karapetis 2010-07-20 23:15:07 +00:00
parent e7abc6da4f
commit d53e5fbfb7
5 changed files with 7 additions and 7 deletions

View file

@ -1053,7 +1053,7 @@ int readPMachineInstruction(const byte *src, byte &extOpcode, int16 opparams[4])
return offset;
}
void run_vm(EngineState *s, bool restoring) {
void run_vm(EngineState *s) {
assert(s);
int temp;
@ -1074,7 +1074,8 @@ void run_vm(EngineState *s, bool restoring) {
if (!local_script)
error("run_vm(): program counter gone astray (local_script pointer is null)");
if (!restoring)
// TODO: Revise this
if (s->abortScriptProcessing != kAbortLoadGame)
s->executionStackBase = s->_executionStack.size() - 1;
s->variablesSegment[VAR_TEMP] = s->variablesSegment[VAR_PARAM] = s->_segMan->findSegmentByType(SEG_TYPE_STACK);