GB: Fix DMG palettes again
Jeffrey Pfau jeffrey@endrift.com
Tue, 16 Feb 2016 00:36:50 -0800
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/gb/video.c
→
src/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: