From 4ecaf4d4aca61000db542c19a717f6b9530b8ee7 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Wed, 3 Feb 2010 01:33:23 +0000 Subject: SCI: restoring param of run_vm is a bool, not an int svn-id: r47834 --- engines/sci/engine/vm.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/sci/engine/vm.cpp') 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(); -- cgit v1.2.3