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

digitall noreply at scummvm.org
Sun May 5 16:39:50 UTC 2024


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:
e82ef04e59 SCUMM: HE: Fix Duplicated Branch GCC Compiler Warnings


Commit: e82ef04e59cf84e05b19c57b03e69502af60f802
    https://github.com/scummvm/scummvm/commit/e82ef04e59cf84e05b19c57b03e69502af60f802
Author: D G Turner (digitall at scummvm.org)
Date: 2024-05-05T17:39:23+01:00

Commit Message:
SCUMM: HE: Fix Duplicated Branch GCC Compiler Warnings

Changed paths:
    engines/scumm/he/wiz_he.h


diff --git a/engines/scumm/he/wiz_he.h b/engines/scumm/he/wiz_he.h
index 256663fbb21..b282d7eab9b 100644
--- a/engines/scumm/he/wiz_he.h
+++ b/engines/scumm/he/wiz_he.h
@@ -81,7 +81,7 @@ namespace Scumm {
 
 #define WIZRAWPIXEL_R_SHIFT   (_uses16BitColor ? 10 : 0)
 #define WIZRAWPIXEL_G_SHIFT   (_uses16BitColor ? 5  : 0)
-#define WIZRAWPIXEL_B_SHIFT   (_uses16BitColor ? 0  : 0)
+#define WIZRAWPIXEL_B_SHIFT   (0)
 
 #define WIZRAWPIXEL_MASK   (_uses16BitColor ? 0xFFFF : 0xFF)
 




More information about the Scummvm-git-logs mailing list