1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-02 09:03:37 +00:00

Fix IA31_RGBA8888 conversion.

This commit is contained in:
Sergey Lipskiy 2021-08-24 18:28:19 +07:00
parent 0afcd176d9
commit 329502f3da

View File

@ -265,7 +265,7 @@ inline u32 IA31_RGBA8888( u8 color )
#else // WIN32_ASM
u8 i = Three2Eight[color >> 1];
u8 a = One2Eight[color & 0x01];
return (i << 24) | (i << 16) | (i << 8) | a;
return (a << 24) | (i << 16) | (i << 8) | i;
#endif // WIN32_ASM
}