mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-03 01:38:36 +00:00
Clang 3.4 exposes some warnings on Android.
Fixes all warnings on Android build except for what is in externals. Removes a function from TextureDecoder_Generic since it is unused and generates a warning.
This commit is contained in:
parent
8f0fa997cb
commit
484fb46390
7 changed files with 12 additions and 27 deletions
|
@ -170,13 +170,6 @@ int TexDecoder_GetPaletteSize(int format)
|
|||
}
|
||||
}
|
||||
|
||||
static inline u32 decodeIA8(u16 val)
|
||||
{
|
||||
int a = val >> 8;
|
||||
int i = val & 0xFF;
|
||||
return (a << 24) | (i << 16) | (i << 8) | i;
|
||||
}
|
||||
|
||||
static inline u32 decode5A3(u16 val)
|
||||
{
|
||||
int r,g,b,a;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue