[Scummvm-git-logs] scummvm master -> 115f2fcf131e27cbc4316835c8afe6baad59f7e6

mgerhardy martin.gerhardy at gmail.com
Wed Jul 14 18:50:02 UTC 2021


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:
115f2fcf13 EVENTRECORDER: handle new recorder event for TimeDate


Commit: 115f2fcf131e27cbc4316835c8afe6baad59f7e6
    https://github.com/scummvm/scummvm/commit/115f2fcf131e27cbc4316835c8afe6baad59f7e6
Author: Martin Gerhardy (martin.gerhardy at gmail.com)
Date: 2021-07-14T20:05:08+02:00

Commit Message:
EVENTRECORDER: handle new recorder event for TimeDate

Changed paths:
    gui/EventRecorder.cpp


diff --git a/gui/EventRecorder.cpp b/gui/EventRecorder.cpp
index e0344ae14f..e97dd53d89 100644
--- a/gui/EventRecorder.cpp
+++ b/gui/EventRecorder.cpp
@@ -232,7 +232,9 @@ bool EventRecorder::pollEvent(Common::Event &ev) {
 	if ((_recordMode != kRecorderPlayback) || !_initialized)
 		return false;
 
-	if ((_nextEvent.recordedtype == Common::kRecorderEventTypeTimer) || (_nextEvent.type == Common::EVENT_INVALID)) {
+	if (_nextEvent.recordedtype == Common::kRecorderEventTypeTimer
+	 || _nextEvent.recordedtype == Common::kRecorderEventTypeTimeDate
+	 || _nextEvent.type == Common::EVENT_INVALID) {
 		return false;
 	}
 




More information about the Scummvm-git-logs mailing list