diff options
author | Strangerke | 2014-11-18 14:10:01 +0100 |
---|---|---|
committer | Paul Gilbert | 2014-12-12 22:34:43 -0500 |
commit | 31fc8fdaa1520d57b02c9aeb83fb4a57b4fef16e (patch) | |
tree | f50618558ca4645d4534f67a422150824a3db6a3 /engines | |
parent | 8e483e037f1851fb96fd2125bf526828cdfa6e98 (diff) | |
download | scummvm-rg350-31fc8fdaa1520d57b02c9aeb83fb4a57b4fef16e.tar.gz scummvm-rg350-31fc8fdaa1520d57b02c9aeb83fb4a57b4fef16e.tar.bz2 scummvm-rg350-31fc8fdaa1520d57b02c9aeb83fb4a57b4fef16e.zip |
ACCESS: Add a hack in order to make the first screen visible
Diffstat (limited to 'engines')
-rw-r--r-- | engines/access/amazon/amazon_game.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/engines/access/amazon/amazon_game.cpp b/engines/access/amazon/amazon_game.cpp index bc26ee3e3f..d7ad12e721 100644 --- a/engines/access/amazon/amazon_game.cpp +++ b/engines/access/amazon/amazon_game.cpp @@ -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; |