summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/TextureDecoder_Generic.cpp
diff options
context:
space:
mode:
authorJoshua Vandaƫle <joshua@vandaele.software>2025-03-17 12:14:32 +0100
committerJoshua Vandaƫle <joshua@vandaele.software>2025-04-23 11:19:20 +0200
commit2c54ee94c1bed2b958478e302307be4d056321a5 (patch)
tree69bd8b88ffc54d9ec7bb0350de0be9b30dca60fc /Source/Core/VideoCommon/TextureDecoder_Generic.cpp
parentd9d00820187d0d8e75c1cc113196ba255ab1a688 (diff)
linter: Apply clang-format 19.1 formatting
find ./Source/ -name '*.cpp' -o -name '*.h' | xargs clang-format-19 -i
Diffstat (limited to 'Source/Core/VideoCommon/TextureDecoder_Generic.cpp')
-rw-r--r--Source/Core/VideoCommon/TextureDecoder_Generic.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/TextureDecoder_Generic.cpp b/Source/Core/VideoCommon/TextureDecoder_Generic.cpp
index 8b70faee50..835ddb523e 100644
--- a/Source/Core/VideoCommon/TextureDecoder_Generic.cpp
+++ b/Source/Core/VideoCommon/TextureDecoder_Generic.cpp
@@ -31,7 +31,7 @@ static inline u32 DecodePixel_RGB565(u16 val)
int r, g, b, a;
r = Convert5To8((val >> 11) & 0x1f);
g = Convert6To8((val >> 5) & 0x3f);
- b = Convert5To8((val)&0x1f);
+ b = Convert5To8((val) & 0x1f);
a = 0xFF;
return r | (g << 8) | (b << 16) | (a << 24);
}
@@ -43,7 +43,7 @@ static inline u32 DecodePixel_RGB5A3(u16 val)
{
r = Convert5To8((val >> 10) & 0x1f);
g = Convert5To8((val >> 5) & 0x1f);
- b = Convert5To8((val)&0x1f);
+ b = Convert5To8((val) & 0x1f);
a = 0xFF;
}
else
@@ -51,7 +51,7 @@ static inline u32 DecodePixel_RGB5A3(u16 val)
a = Convert3To8((val >> 12) & 0x7);
r = Convert4To8((val >> 8) & 0xf);
g = Convert4To8((val >> 4) & 0xf);
- b = Convert4To8((val)&0xf);
+ b = Convert4To8((val) & 0xf);
}
return r | (g << 8) | (b << 16) | (a << 24);
}