Also fix RBGA4 (untested)
This commit is contained in:
parent
a39adc8ac1
commit
f27cdb4543
@ -246,9 +246,9 @@ static inline void Draw_ConvertPixelToBGR8(u8 *dst, const u8 *src, GSPGPU_Frameb
|
||||
case GSP_RGBA4_OES:
|
||||
{
|
||||
u16 px = *(u32 *)src;
|
||||
blue = px & 0xF;
|
||||
green = (px >> 4) & 0xF;
|
||||
red = (px >> 8) & 0xF;
|
||||
blue = (px >> 4) & 0xF;
|
||||
green = (px >> 8) & 0xF;
|
||||
red = (px >> 12) & 0xF;
|
||||
|
||||
dst[0] = (blue << 4) | (blue >> 4);
|
||||
dst[1] = (green << 4) | (green >> 4);
|
||||
|
Reference in New Issue
Block a user