diff options
author | Johannes Schickel | 2007-02-22 18:03:05 +0000 |
---|---|---|
committer | Johannes Schickel | 2007-02-22 18:03:05 +0000 |
commit | 60fbbc2704c2b384578ca1d82181ad6696eb0cc2 (patch) | |
tree | 1802e42773a2c6782a4f4ecb8ddff01fe7cb7eb6 /engines | |
parent | c3254cde9e557df7238f3393da322c1f2cdf91e8 (diff) | |
download | scummvm-rg350-60fbbc2704c2b384578ca1d82181ad6696eb0cc2.tar.gz scummvm-rg350-60fbbc2704c2b384578ca1d82181ad6696eb0cc2.tar.bz2 scummvm-rg350-60fbbc2704c2b384578ca1d82181ad6696eb0cc2.zip |
Fixed black screen in the outro sequence.
svn-id: r25791
Diffstat (limited to 'engines')
-rw-r--r-- | engines/kyra/sequences_v1.cpp | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/engines/kyra/sequences_v1.cpp b/engines/kyra/sequences_v1.cpp index 07c44b4fe7..752db080c4 100644 --- a/engines/kyra/sequences_v1.cpp +++ b/engines/kyra/sequences_v1.cpp @@ -1005,10 +1005,13 @@ void KyraEngine::seq_playEnding() { // XXX assert(_homeString); drawSentenceCommand(_homeString[0], 179); - memset(_screen->getPalette(0), 0, sizeof(uint8)*768); - _screen->setScreenPalette(_screen->getPalette(0)); + + memset(_screen->getPalette(2), 0, sizeof(uint8)*768); + _screen->setScreenPalette(_screen->getPalette(2)); + _seq->playSequence(_seq_Reunion, false); _screen->fadeToBlack(); + _screen->showMouse(); seq_playCredits(); } @@ -1037,7 +1040,6 @@ void KyraEngine::seq_playCredits() { _screen->setFont(Screen::FID_8_FNT); _screen->loadBitmap("CHALET.CPS", 4, 4, _screen->_currentPalette); - _screen->setScreenPalette(_screen->_currentPalette); _screen->setCurPage(0); _screen->clearCurPage(); @@ -1114,6 +1116,11 @@ void KyraEngine::seq_playCredits() { } _screen->setCurPage(2); + + memset(_screen->getPalette(2), 0, sizeof(uint8)*768); + _screen->setScreenPalette(_screen->getPalette(2)); + _screen->copyRegion(8, 32, 8, 32, 312, 128, 4, 0, Screen::CR_NO_P_CHECK); + _screen->fadePalette(_screen->_currentPalette, 0x5A); OSystem::Event event; bool finished = false; |