all repos — mgba @ ea67f6bc754ffd587be9d531c8199af4644511d7

mGBA Game Boy Advance Emulator

GB: Fix DMG palettes again
Jeffrey Pfau jeffrey@endrift.com
Tue, 16 Feb 2016 00:36:50 -0800
commit

ea67f6bc754ffd587be9d531c8199af4644511d7

parent

df619d4b56a2a3b83f718ae0a7b4440e913d9df0

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

jump to
M src/gb/video.csrc/gb/video.c

@@ -266,7 +266,7 @@ video->stat = (video->stat & 0x7) | (value & 0x78);

} void GBVideoWritePalette(struct GBVideo* video, uint16_t address, uint8_t value) { - static const uint16_t dmgPalette[4] = { 0x7FFF, 0x294A, 0x14A5, 0x0000}; + static const uint16_t dmgPalette[4] = { 0x7FFF, 0x56B5, 0x294A, 0x0000}; if (video->p->model < GB_MODEL_CGB) { switch (address) { case REG_BGP: