mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-02 14:51:40 +00:00
ACCESS: Add a hack in order to make the first screen visible
This commit is contained in:
parent
8e483e037f
commit
31fc8fdaa1
@ -184,6 +184,15 @@ void AmazonEngine::doTitle() {
|
||||
_screen->forceFadeIn();
|
||||
_sound->playSound(1);
|
||||
|
||||
// HACK: This delay has been added so that the very first screen is visible.
|
||||
// The original was using disk loading time to display it, and it's too fast
|
||||
// nowadays to be visible.
|
||||
_events->_vbCount = 70;
|
||||
while (!shouldQuit() && _events->_vbCount > 0) {
|
||||
_events->pollEvents();
|
||||
g_system->delayMillis(10);
|
||||
}
|
||||
|
||||
Resource *spriteData = _files->loadFile(0, 2);
|
||||
_objectsTable[0] = new SpriteResource(this, spriteData);
|
||||
delete spriteData;
|
||||
|
Loading…
x
Reference in New Issue
Block a user