diff options
author | aroulin <andy.roulin@epfl.ch> | 2015-07-07 20:41:26 +0200 |
---|---|---|
committer | aroulin <andy.roulin@epfl.ch> | 2015-07-12 09:49:16 +0200 |
commit | 1f125a04c3fd1fef1fe50ac171ba82ce05ffdc50 (patch) | |
tree | dc4858c2ae26eeacf85f640596434b3b713c514d /src | |
parent | Merge pull request #823 from Subv/applets_drawing (diff) | |
download | yuzu-1f125a04c3fd1fef1fe50ac171ba82ce05ffdc50.tar yuzu-1f125a04c3fd1fef1fe50ac171ba82ce05ffdc50.tar.gz yuzu-1f125a04c3fd1fef1fe50ac171ba82ce05ffdc50.tar.bz2 yuzu-1f125a04c3fd1fef1fe50ac171ba82ce05ffdc50.tar.lz yuzu-1f125a04c3fd1fef1fe50ac171ba82ce05ffdc50.tar.xz yuzu-1f125a04c3fd1fef1fe50ac171ba82ce05ffdc50.tar.zst yuzu-1f125a04c3fd1fef1fe50ac171ba82ce05ffdc50.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/core/hw/y2r.cpp | 2 |
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 while (output < unit_end) { u32 color = *input++; Math::Vec4<u8> col_vec{ - (color >> 24) & 0xFF, (color >> 16) & 0xFF, (color >> 8) & 0xFF, alpha, + (u8)(color >> 24), (u8)(color >> 16), (u8)(color >> 8), alpha }; switch (output_format) { |