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

Fix IA88_RGBA4444 convertor on non-windows platforms.

Fixed issue #280 and issue #759
This commit is contained in:
Sergey Lipskiy 2016-03-01 16:48:18 +06:00
parent 33824877cc
commit 53203c048a

View File

@ -300,8 +300,8 @@ inline u16 IA88_RGBA4444( u16 color )
or al, ch
}
#else // WIN32_ASM
u8 i = color >> 12;
u8 a = (color >> 4) & 0x000F;
u8 a = color >> 12;
u8 i = (color >> 4) & 0x000F;
return (i << 12) | (i << 8) | (i << 4) | a;
#endif // WIN32_ASM
}