From 8bf3f3782a579613454624d6ae978f38c7fc4af4 Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Sun, 29 Dec 2024 14:39:02 -0700 Subject: [PATCH] Fix wrong op --- LEGO1/omni/src/video/mxdisplaysurface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LEGO1/omni/src/video/mxdisplaysurface.cpp b/LEGO1/omni/src/video/mxdisplaysurface.cpp index a6295ef6..685c59be 100644 --- a/LEGO1/omni/src/video/mxdisplaysurface.cpp +++ b/LEGO1/omni/src/video/mxdisplaysurface.cpp @@ -13,7 +13,7 @@ DECOMP_SIZE_ASSERT(MxDisplaySurface, 0xac); -#define RGB555_CREATE(R, G, B) (((R) << 10) | (G) << 5 || (B) << 0) +#define RGB555_CREATE(R, G, B) (((R) << 10) | (G) << 5 | (B) << 0) // GLOBAL: LEGO1 0x1010215c MxU32 g_unk0x1010215c = 0;