summaryrefslogtreecommitdiff
path: root/src/core/hw/y2r.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hw/y2r.cpp')
-rw-r--r--src/core/hw/y2r.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hw/y2r.cpp b/src/core/hw/y2r.cpp
index b40f13cae..f80e26ecd 100644
--- a/src/core/hw/y2r.cpp
+++ b/src/core/hw/y2r.cpp
@@ -111,7 +111,7 @@ static void SendData(const u32* input, ConversionBuffer& buf, int amount_of_data
111 while (output < unit_end) { 111 while (output < unit_end) {
112 u32 color = *input++; 112 u32 color = *input++;
113 Math::Vec4<u8> col_vec{ 113 Math::Vec4<u8> col_vec{
114 (color >> 24) & 0xFF, (color >> 16) & 0xFF, (color >> 8) & 0xFF, alpha, 114 (u8)(color >> 24), (u8)(color >> 16), (u8)(color >> 8), alpha
115 }; 115 };
116 116
117 switch (output_format) { 117 switch (output_format) {