diff options
author | Max Horn | 2010-02-03 01:33:23 +0000 |
---|---|---|
committer | Max Horn | 2010-02-03 01:33:23 +0000 |
commit | 4ecaf4d4aca61000db542c19a717f6b9530b8ee7 (patch) | |
tree | feed434a0414fe0edd7c6a687798920825f8bc69 /engines/sci/engine/vm.cpp | |
parent | bb5e34a014c0ae868de86fcea484bc9671ce18b9 (diff) | |
download | scummvm-rg350-4ecaf4d4aca61000db542c19a717f6b9530b8ee7.tar.gz scummvm-rg350-4ecaf4d4aca61000db542c19a717f6b9530b8ee7.tar.bz2 scummvm-rg350-4ecaf4d4aca61000db542c19a717f6b9530b8ee7.zip |
SCI: restoring param of run_vm is a bool, not an int
svn-id: r47834
Diffstat (limited to 'engines/sci/engine/vm.cpp')
-rw-r--r-- | engines/sci/engine/vm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/engine/vm.cpp b/engines/sci/engine/vm.cpp index d26405069b..111e17d0eb 100644 --- a/engines/sci/engine/vm.cpp +++ b/engines/sci/engine/vm.cpp @@ -529,7 +529,7 @@ static void gc_countdown(EngineState *s) { static const byte _fake_return_buffer[2] = {op_ret << 1, op_ret << 1}; -void run_vm(EngineState *s, int restoring) { +void run_vm(EngineState *s, bool restoring) { assert(s); #ifndef DISABLE_VALIDATIONS @@ -1613,7 +1613,7 @@ static EngineState *_game_run(EngineState *&s) { do { s->_executionStackPosChanged = false; - run_vm(s, successor ? 1 : 0); + run_vm(s, successor ? true : false); if (s->restarting_flags & SCI_GAME_IS_RESTARTING_NOW) { // Restart was requested? successor = NULL; s->_executionStack.clear(); |