From c2038e00d001c93a37028864ad661b89377686c9 Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Wed, 3 Feb 2016 01:47:26 +0100 Subject: AGI: Call update screen in have.key for now Some games call it in an endless loop until a key is returned --- engines/agi/op_test.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines') diff --git a/engines/agi/op_test.cpp b/engines/agi/op_test.cpp index ca473fe618..0ffd1f56e6 100644 --- a/engines/agi/op_test.cpp +++ b/engines/agi/op_test.cpp @@ -22,6 +22,7 @@ #include "agi/agi.h" +#include "agi/graphics.h" #include "agi/opcodes.h" #include "agi/words.h" @@ -131,6 +132,7 @@ void condHaveKey(AgiGame *state, AgiEngine *vm, uint8 *p) { state->testResult = 1; return; } + vm->_gfx->updateScreen(); // TODO: Solve this in a better way state->testResult = 0; } -- cgit v1.2.3