diff options
-rw-r--r-- | engines/queen/display.cpp | 4 | ||||
-rw-r--r-- | engines/queen/input.cpp | 4 |
2 files changed, 3 insertions, 5 deletions
diff --git a/engines/queen/display.cpp b/engines/queen/display.cpp index 7c9573612a..d66f7a6934 100644 --- a/engines/queen/display.cpp +++ b/engines/queen/display.cpp @@ -169,7 +169,6 @@ void Display::palSet(const uint8 *pal, int start, int end, bool updateScreen) { } _system->setPalette(tempPal, start, numColors); if (updateScreen) { - _system->updateScreen(); _vm->input()->delay(20); } } @@ -957,7 +956,6 @@ void Display::blankScreenEffect1() { --y; } _system->copyRectToScreen(buf, 32, x, y, 32, 32); - _system->updateScreen(); _vm->input()->delay(10); } } @@ -986,7 +984,6 @@ void Display::blankScreenEffect2() { memset(p, c, 2); memset(p + SCREEN_W, c, 2); _system->copyRectToScreen(p, SCREEN_W, x, y, 2, 2); - _system->updateScreen(); _vm->input()->delay(10); } } @@ -1008,7 +1005,6 @@ void Display::blankScreenEffect3() { ++i; _system->copyRectToScreen(p, SCREEN_W, x, y, 2, 2); } - _system->updateScreen(); _vm->input()->delay(10); } } diff --git a/engines/queen/input.cpp b/engines/queen/input.cpp index d6b4f4cb44..84e91f7a1c 100644 --- a/engines/queen/input.cpp +++ b/engines/queen/input.cpp @@ -132,10 +132,12 @@ void Input::delay(uint amount) { } } + _system->updateScreen(); + if (amount == 0) break; - _system->delayMillis((amount > 20) ? 20 : amount); + _system->delayMillis((amount > 10) ? 10 : amount); } while (_system->getMillis() < end); } |