[Scummvm-cvs-logs] scummvm master -> c2038e00d001c93a37028864ad661b89377686c9
m-kiewitz
m_kiewitz at users.sourceforge.net
Wed Feb 3 01:47:50 CET 2016
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
c2038e00d0 AGI: Call update screen in have.key for now
Commit: c2038e00d001c93a37028864ad661b89377686c9
https://github.com/scummvm/scummvm/commit/c2038e00d001c93a37028864ad661b89377686c9
Author: Martin Kiewitz (m_kiewitz at users.sourceforge.net)
Date: 2016-02-03T01:47:26+01:00
Commit Message:
AGI: Call update screen in have.key for now
Some games call it in an endless loop until a key is returned
Changed paths:
engines/agi/op_test.cpp
diff --git a/engines/agi/op_test.cpp b/engines/agi/op_test.cpp
index ca473fe..0ffd1f5 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;
}
More information about the Scummvm-git-logs
mailing list