mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
Fix IA88_RGBA4444 convertor on non-windows platforms.
Fixed issue #280 and issue #759
This commit is contained in:
parent
33824877cc
commit
53203c048a
|
@ -300,8 +300,8 @@ inline u16 IA88_RGBA4444( u16 color )
|
||||||
or al, ch
|
or al, ch
|
||||||
}
|
}
|
||||||
#else // WIN32_ASM
|
#else // WIN32_ASM
|
||||||
u8 i = color >> 12;
|
u8 a = color >> 12;
|
||||||
u8 a = (color >> 4) & 0x000F;
|
u8 i = (color >> 4) & 0x000F;
|
||||||
return (i << 12) | (i << 8) | (i << 4) | a;
|
return (i << 12) | (i << 8) | (i << 4) | a;
|
||||||
#endif // WIN32_ASM
|
#endif // WIN32_ASM
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user