mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-12 03:56:20 +00:00
CGE2: Rearrange showTitle() and add some delay to the display.
Now the splash screen doesn't vanish almost immediately right after it's drawn.
This commit is contained in:
parent
733f72d810
commit
6a38671cc2
@ -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();
|
||||
|
||||
D.show(2);
|
||||
|
||||
_vga->copyPage(1, 2);
|
||||
_vga->copyPage(0, 1);
|
||||
|
||||
_vga->sunrise(_vga->_sysPal);
|
||||
|
||||
_vga->update();
|
||||
|
||||
g_system->delayMillis(2500);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user