diff options
author | Vladimir Menshakov | 2011-06-10 10:47:23 +0400 |
---|---|---|
committer | Alyssa Milburn | 2011-06-15 17:33:56 +0200 |
commit | b04f5908980c3b042d8eeba8333f03a1b697b400 (patch) | |
tree | dec2f8bdd0a385830581494c683dddfb1a7c632a /engines | |
parent | 8a72645c16a76937eaa5faf824fe5ae2eef8bebe (diff) | |
download | scummvm-rg350-b04f5908980c3b042d8eeba8333f03a1b697b400.tar.gz scummvm-rg350-b04f5908980c3b042d8eeba8333f03a1b697b400.tar.bz2 scummvm-rg350-b04f5908980c3b042d8eeba8333f03a1b697b400.zip |
DREAMWEB: added forgotten updateScreen()
Diffstat (limited to 'engines')
-rw-r--r-- | engines/dreamweb/dreamweb.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/dreamweb/dreamweb.cpp b/engines/dreamweb/dreamweb.cpp index 5480aa6ff5..f8a8b55a81 100644 --- a/engines/dreamweb/dreamweb.cpp +++ b/engines/dreamweb/dreamweb.cpp @@ -95,6 +95,7 @@ void DreamWebEngine::waitForVSync() { memcpy(scanline, src, 320); } _system->unlockScreen(); + _system->updateScreen(); /* while (!_vSyncInterrupt) { _system->delayMillis(10); @@ -199,10 +200,12 @@ void DreamWebEngine::mouseCall() { } void DreamWebEngine::setGraphicsMode() { + processEvents(); initGraphics(320, 200, false); } void DreamWebEngine::fadeDos() { + //processEvents will be called from vsync PaletteManager *palette = _system->getPaletteManager(); _context.ds = _context.es = _context.data.word(dreamgen::kBuffers); uint8 *dst = _context.es.ptr(dreamgen::kStartpal, 768); @@ -218,6 +221,7 @@ void DreamWebEngine::fadeDos() { } } void DreamWebEngine::setPalette() { + processEvents(); PaletteManager *palette = _system->getPaletteManager(); unsigned n = (uint16)_context.cx; uint8 *colors = _context.ds.ptr(_context.si, n * 3); |