mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-28 05:52:38 +00:00
linter: Apply clang-format 19.1 formatting
find ./Source/ -name '*.cpp' -o -name '*.h' | xargs clang-format-19 -i
This commit is contained in:
parent
d9d0082018
commit
2c54ee94c1
41 changed files with 159 additions and 212 deletions
|
@ -37,7 +37,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);
|
||||
}
|
||||
|
@ -49,7 +49,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
|
||||
|
@ -57,7 +57,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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue