aboutsummaryrefslogtreecommitdiff
path: root/engines/cge2
diff options
context:
space:
mode:
authoruruk2014-07-30 19:34:37 +0200
committeruruk2014-07-30 19:34:37 +0200
commit6a38671cc27e91e9da9d0e214a8da639546b1d9e (patch)
treee40c3143e734c2c01500af31aafe590a9d7efc91 /engines/cge2
parent733f72d810b6f28992e1b9d42050544ade35da14 (diff)
downloadscummvm-rg350-6a38671cc27e91e9da9d0e214a8da639546b1d9e.tar.gz
scummvm-rg350-6a38671cc27e91e9da9d0e214a8da639546b1d9e.tar.bz2
scummvm-rg350-6a38671cc27e91e9da9d0e214a8da639546b1d9e.zip
CGE2: Rearrange showTitle() and add some delay to the display.
Now the splash screen doesn't vanish almost immediately right after it's drawn.
Diffstat (limited to 'engines/cge2')
-rw-r--r--engines/cge2/cge2_main.cpp7
1 files 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;
}