all repos — mgba @ ecdcef283b14a458521e80b714cb6d43da9965f6

mGBA Game Boy Advance Emulator

GB Video: Improve palettes
Jeffrey Pfau jeffrey@endrift.com
Sun, 14 Feb 2016 23:18:37 -0800
commit

ecdcef283b14a458521e80b714cb6d43da9965f6

parent

b6fc26a7bf7c99edd14605a33bba149f09c71d65

1 files changed, 3 insertions(+), 3 deletions(-)

jump to
M src/gb/renderers/software.csrc/gb/renderers/software.c

@@ -23,12 +23,12 @@ static void GBVideoSoftwareRendererDrawObj(struct GBVideoSoftwareRenderer* renderer, struct GBObj* obj, int startX, int endX, int y);

#ifdef COLOR_16_BIT #ifdef COLOR_5_6_5 -static const color_t GB_PALETTE[4] = { 0xFFFF, 0x39C7, 0x18C3, 0x0000}; +static const color_t GB_PALETTE[4] = { 0xFFFF, 0x528A, 0x2945, 0x0000}; #else -static const color_t GB_PALETTE[4] = { 0x7FFF, 0x1DE7, 0x0C63, 0x0000}; +static const color_t GB_PALETTE[4] = { 0x7FFF, 0x294A, 0x14A5, 0x0000}; #endif #else -static const color_t GB_PALETTE[4] = { 0xFFFFFF, 0x808080, 0x404040, 0x000000}; +static const color_t GB_PALETTE[4] = { 0xFFFFFF, 0xACACAC, 0x565656, 0x000000}; #endif void GBVideoSoftwareRendererCreate(struct GBVideoSoftwareRenderer* renderer) {