From 77bb83cdfd7bb3836fe55ca1fef6247198437108 Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Thu, 25 Feb 2016 00:39:31 +0100 Subject: SCI32: Update InfoFlagViewVisible from send_selector --- engines/sci/engine/vm.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'engines/sci') diff --git a/engines/sci/engine/vm.cpp b/engines/sci/engine/vm.cpp index 5db3198864..66d9fee5fd 100644 --- a/engines/sci/engine/vm.cpp +++ b/engines/sci/engine/vm.cpp @@ -258,6 +258,10 @@ static void _exec_varselectors(EngineState *s) { if (xs.argc) { // write? *var = xs.variables_argp[1]; +#ifdef ENABLE_SCI32 + updateInfoFlagViewVisible(s->_segMan->getObject(xs.addr.varp.obj), xs.addr.varp.varindex); +#endif + } else // No, read s->r_acc = *var; } -- cgit v1.2.3