[Scummvm-git-logs] scummvm master -> 106e366424f9e165af9dcd4c151194cb0e12986c

dreammaster paulfgilbert at gmail.com
Sun Sep 8 07:14:32 CEST 2019


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:
106e366424 GLK: Fix stalling of event processing loop


Commit: 106e366424f9e165af9dcd4c151194cb0e12986c
    https://github.com/scummvm/scummvm/commit/106e366424f9e165af9dcd4c151194cb0e12986c
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2019-09-07T22:14:21-07:00

Commit Message:
GLK: Fix stalling of event processing loop

Changed paths:
    engines/glk/events.cpp


diff --git a/engines/glk/events.cpp b/engines/glk/events.cpp
index bb8dc96..a1a71fc 100644
--- a/engines/glk/events.cpp
+++ b/engines/glk/events.cpp
@@ -181,7 +181,8 @@ void Events::pollEvents() {
 
 	do {
 		checkForNextFrameCounter();
-		g_system->getEventManager()->pollEvent(event);
+		if (!g_system->getEventManager()->pollEvent(event))
+			return;
 
 		switch (event.type) {
 		case Common::EVENT_KEYDOWN: {





More information about the Scummvm-git-logs mailing list