[Scummvm-git-logs] scummvm master -> 0bdf4df6fa30bd28bbbe6e3914322b7945667f65

digitall 547637+digitall at users.noreply.github.com
Fri Oct 29 18:36:50 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:
0bdf4df6fa ASYLUM: Fix GCC Duplicated Branch Warning


Commit: 0bdf4df6fa30bd28bbbe6e3914322b7945667f65
    https://github.com/scummvm/scummvm/commit/0bdf4df6fa30bd28bbbe6e3914322b7945667f65
Author: D G Turner (digitall at scummvm.org)
Date: 2021-10-29T19:36:19+01:00

Commit Message:
ASYLUM: Fix GCC Duplicated Branch Warning

Changed paths:
    engines/asylum/views/scene.cpp


diff --git a/engines/asylum/views/scene.cpp b/engines/asylum/views/scene.cpp
index a1b9aaea1e..8b62d63e8e 100644
--- a/engines/asylum/views/scene.cpp
+++ b/engines/asylum/views/scene.cpp
@@ -616,16 +616,14 @@ bool Scene::updateScreen() {
 	if (updateScene())
 		return true;
 
+#if 0
 	if (Config.performance <= 4) {
-		// TODO when Config.performance <= 4, we need to skip drawing frames to screen
-
-		if (drawScene())
-			return true;
-
+		// TODO: implement skip drawing frames to screen
 	} else {
+#endif
 		if (drawScene())
 			return true;
-	}
+	//}
 
 	getActor()->drawNumber();
 




More information about the Scummvm-git-logs mailing list