diff options
author | Martin Kiewitz | 2015-06-01 13:00:29 +0200 |
---|---|---|
committer | Martin Kiewitz | 2015-06-01 13:00:29 +0200 |
commit | 3025a44157a75ead6c36298179eb6b92f9796c3f (patch) | |
tree | 47629f899220312fb51e06d8b0edda2c6ac476a1 /engines/sherlock/scalpel/tsage | |
parent | 049ca42bb231080c97c9afc2c778fc375787870c (diff) | |
download | scummvm-rg350-3025a44157a75ead6c36298179eb6b92f9796c3f.tar.gz scummvm-rg350-3025a44157a75ead6c36298179eb6b92f9796c3f.tar.bz2 scummvm-rg350-3025a44157a75ead6c36298179eb6b92f9796c3f.zip |
SHERLOCK: fix flicker during EA logo intro
Diffstat (limited to 'engines/sherlock/scalpel/tsage')
-rw-r--r-- | engines/sherlock/scalpel/tsage/logo.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sherlock/scalpel/tsage/logo.cpp b/engines/sherlock/scalpel/tsage/logo.cpp index 32a68c15af..769f58c604 100644 --- a/engines/sherlock/scalpel/tsage/logo.cpp +++ b/engines/sherlock/scalpel/tsage/logo.cpp @@ -384,15 +384,15 @@ bool Logo::show(ScalpelEngine *vm) { while (!logo->finished()) { logo->nextFrame(); - events.wait(2); - events.setButtonState(); - // Erase areas from previous frame, and update and re-draw objects for (int idx = 0; idx < 4; ++idx) logo->_objects[idx].erase(); for (int idx = 0; idx < 4; ++idx) logo->_objects[idx].update(); + events.wait(2); + events.setButtonState(); + interrupted = vm->shouldQuit() || events.kbHit() || events._pressed; if (interrupted) { // Keyboard or mouse button pressed, so break out of logo display |