Texture Handler:

- Fix unpacking 16-bit direct color textures on big-endian systems.
This commit is contained in:
rogerman 2016-07-03 21:58:42 +00:00
parent cab3408049
commit 68825ec961
1 changed files with 1 additions and 1 deletions

View File

@ -928,7 +928,7 @@ public:
for (size_t x = 0; x < len; x++)
{
const u16 c = map[x];
const u16 c = LOCAL_TO_LE_16(map[x]);
*dwdst++ = (c & 0x8000) ? CONVERT(c & 0x7FFF) : 0;
}
}