diff options
author | Matthew Hoops | 2007-09-03 01:29:10 +0000 |
---|---|---|
committer | Matthew Hoops | 2007-09-03 01:29:10 +0000 |
commit | 339e9cf173ba66bc7fdd0f220e0acbf5eaa38b19 (patch) | |
tree | acfcaeb80ca9019482d38d6fd82de703e378e388 /engines | |
parent | 39de6091e22ec821e98f82dae1cbe59c8361e6d4 (diff) | |
download | scummvm-rg350-339e9cf173ba66bc7fdd0f220e0acbf5eaa38b19.tar.gz scummvm-rg350-339e9cf173ba66bc7fdd0f220e0acbf5eaa38b19.tar.bz2 scummvm-rg350-339e9cf173ba66bc7fdd0f220e0acbf5eaa38b19.zip |
fix flashScreen
svn-id: r28839
Diffstat (limited to 'engines')
-rw-r--r-- | engines/agi/preagi_mickey.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/engines/agi/preagi_mickey.cpp b/engines/agi/preagi_mickey.cpp index d5892df4f5..aa280f69ee 100644 --- a/engines/agi/preagi_mickey.cpp +++ b/engines/agi/preagi_mickey.cpp @@ -1133,7 +1133,15 @@ void Mickey::randomize() { void Mickey::flashScreen() { //playSound(IDI_MSA_SND_PRESS_BLUE); // TODO - _vm->_gfx->drawRectangle(20, 0, IDI_MSA_PIC_WIDTH, IDI_MSA_PIC_HEIGHT - 1, 15); // clear GFX screen + //Set screen to white + _vm->_gfx->clearScreen(15); + _vm->_gfx->doUpdate(); + _vm->_system->updateScreen(); // TODO: this should go in the game's main loop + + _vm->_system->delayMillis(25); + + //Set back to black + _vm->_gfx->clearScreen(0); _vm->_gfx->doUpdate(); _vm->_system->updateScreen(); // TODO: this should go in the game's main loop |