GBA Video: Fix _mix for 15-bit color
Extrems metaradil@gmail.com
Wed, 28 Oct 2015 02:02:39 -0400
1 files changed,
2 insertions(+),
2 deletions(-)
M
src/gba/renderers/software-private.h
→
src/gba/renderers/software-private.h
@@ -306,8 +306,8 @@ }
if (c & 0x0020) { c = (c & ~0x003F) | 0x001F; } - if (c & 0x10000) { - c = (c & ~0x1F800) | 0xF800; + if (c & 0x8000) { + c = (c & ~0xF800) | 0x7C00; } c = (c & 0x7C1F) | ((c >> 16) & 0x03E0); #endif