aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2015-12-18 20:20:26 +0100
committerEugene Sandulenko2015-12-27 15:40:54 +0100
commitb92e7f602f1fb0037047a56045b418597359db36 (patch)
treec7e8af1d1d8ad9aad24de0962d1103b991527204 /engines
parent0d5c219885e1d04d61b7caf5e524c311eae19ce5 (diff)
downloadscummvm-rg350-b92e7f602f1fb0037047a56045b418597359db36.tar.gz
scummvm-rg350-b92e7f602f1fb0037047a56045b418597359db36.tar.bz2
scummvm-rg350-b92e7f602f1fb0037047a56045b418597359db36.zip
WAGE: Added delay to avoid CPU hogging
Diffstat (limited to 'engines')
-rw-r--r--engines/wage/design.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/wage/design.cpp b/engines/wage/design.cpp
index a3a9d14154..6b30954c58 100644
--- a/engines/wage/design.cpp
+++ b/engines/wage/design.cpp
@@ -111,6 +111,7 @@ void Design::paint(Graphics::Surface *canvas, Patterns &patterns, bool mask) {
while (true) {
((WageEngine *)g_engine)->processEvents();
g_system->updateScreen();
+ g_system->delayMillis(50);
}
return;
}