mirror of
https://github.com/LIV2/WinUAE.git
synced 2025-12-06 00:12:52 +00:00
gfxutil.cpp: invert byteswap on bigendian archs
This commit is contained in:
parent
d382cccffe
commit
c9bd6e942d
@ -278,6 +278,10 @@ void alloc_colors_picasso (int rw, int gw, int bw, int rs, int gs, int bs, int r
|
||||
break;
|
||||
}
|
||||
|
||||
#ifdef WORDS_BIGENDIAN
|
||||
byte_swap = !byte_swap;
|
||||
#endif
|
||||
|
||||
memset (p96_rgbx16, 0, sizeof p96_rgbx16);
|
||||
|
||||
if (red_bits) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user