From 6a38671cc27e91e9da9d0e214a8da639546b1d9e Mon Sep 17 00:00:00 2001 From: uruk Date: Wed, 30 Jul 2014 19:34:37 +0200 Subject: CGE2: Rearrange showTitle() and add some delay to the display. Now the splash screen doesn't vanish almost immediately right after it's drawn. --- engines/cge2/cge2_main.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/engines/cge2/cge2_main.cpp b/engines/cge2/cge2_main.cpp index c1a47b8000..b4dd812079 100644 --- a/engines/cge2/cge2_main.cpp +++ b/engines/cge2/cge2_main.cpp @@ -808,16 +808,15 @@ bool CGE2Engine::showTitle(const char *name) { Sprite D(this, LB, 1); D._flags._kill = true; D.gotoxyz(kScrWidth >> 1, -(kPanHeight >> 1)); - _vga->sunset(); + _vga->sunset(); D.show(2); - _vga->copyPage(1, 2); _vga->copyPage(0, 1); - _vga->sunrise(_vga->_sysPal); - _vga->update(); + + g_system->delayMillis(2500); return true; } -- cgit v1.2.3