aboutsummaryrefslogtreecommitdiff
path: root/engines/dm/dm.cpp
diff options
context:
space:
mode:
authorBendegúz Nagy2016-08-12 13:04:45 +0200
committerBendegúz Nagy2016-08-26 23:02:22 +0200
commit78f34ae4e3c811e96a6ec0d3b2e1baac93e62376 (patch)
tree4c1293d0613f888d347bf73f5f3dc56c738f25dd /engines/dm/dm.cpp
parente7d460bdc83a271181124ed03563d2c63204fcb0 (diff)
downloadscummvm-rg350-78f34ae4e3c811e96a6ec0d3b2e1baac93e62376.tar.gz
scummvm-rg350-78f34ae4e3c811e96a6ec0d3b2e1baac93e62376.tar.bz2
scummvm-rg350-78f34ae4e3c811e96a6ec0d3b2e1baac93e62376.zip
DM: Make DMEngine::f22_delay call EventMan::processInput()
Diffstat (limited to 'engines/dm/dm.cpp')
-rw-r--r--engines/dm/dm.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/dm/dm.cpp b/engines/dm/dm.cpp
index d0ca2c82b1..9cb3711bb8 100644
--- a/engines/dm/dm.cpp
+++ b/engines/dm/dm.cpp
@@ -55,6 +55,7 @@
#include "timeline.h"
#include "projexpl.h"
#include "dialog.h"
+#include <graphics/cursorman.h>
namespace DM {
void warning(bool repeat, const char* s, ...) {
@@ -235,6 +236,7 @@ bool DMEngine::hasFeature(EngineFeature f) const {
void DMEngine::f22_delay(uint16 verticalBlank) {
for (uint16 i = 0; i < verticalBlank * 2; ++i) {
+ _eventMan->processInput();
_displayMan->updateScreen();
_system->delayMillis(10); // Google says most Amiga games had a refreshrate of 50 hz
}