Fixed compilation for big endian architectures (SF patch #563).

This commit is contained in:
Volker Ruppert 2021-08-24 19:06:01 +00:00
parent d684c5cd57
commit 412285baed
1 changed files with 1 additions and 1 deletions

View File

@ -1627,7 +1627,7 @@ void voodoo2_bitblt_cpu_to_screen(Bit32u data)
if (rgbfmt & 1) {
BX_ERROR(("Voodoo bitBLT: color order other than RGB not supported yet"));
}
#if BX_BIG_ENDIAN
#ifdef BX_BIG_ENDIAN
data = bx_bswap32(data);
#endif
src_ptr = (Bit8u*)&data;