[Scummvm-git-logs] scummvm master -> fe6f8d6d05ef743cae7dc3d063545f0ca4c90a00

mduggan mgithub at guarana.org
Wed Apr 15 12:57:51 UTC 2020


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
fe6f8d6d05 ULTIMA8: Fix splash screen display


Commit: fe6f8d6d05ef743cae7dc3d063545f0ca4c90a00
    https://github.com/scummvm/scummvm/commit/fe6f8d6d05ef743cae7dc3d063545f0ca4c90a00
Author: Matthew Duggan (mgithub at guarana.org)
Date: 2020-04-15T21:56:31+09:00

Commit Message:
ULTIMA8: Fix splash screen display

Changed paths:
    engines/ultima/ultima8/ultima8.cpp


diff --git a/engines/ultima/ultima8/ultima8.cpp b/engines/ultima/ultima8/ultima8.cpp
index 29c581b1c9..25da365ad4 100644
--- a/engines/ultima/ultima8/ultima8.cpp
+++ b/engines/ultima/ultima8/ultima8.cpp
@@ -1525,9 +1525,9 @@ void Ultima8Engine::showSplashScreen() {
 	scr->transBlitFrom(*srcSurface, Common::Rect(0, 0, srcSurface->w, srcSurface->h),
 		Common::Rect(0, 0, scr->w, scr->h));
 	scr->update();
-
-	// Pause to allow the image to be seen
-	g_system->delayMillis(2000);
+	// Handle a single event to get the splash screen shown
+	Common::Event event;
+	_events->pollEvent(event);
 }
 
 Gump *Ultima8Engine::getMenuGump() const {




More information about the Scummvm-git-logs mailing list