GB: Fix DMG palettes again

This commit is contained in:
Jeffrey Pfau 2016-02-16 00:36:50 -08:00
parent df619d4b56
commit ea67f6bc75
1 changed files with 1 additions and 1 deletions

View File

@ -266,7 +266,7 @@ void GBVideoWriteSTAT(struct GBVideo* video, GBRegisterSTAT value) {
} }
void GBVideoWritePalette(struct GBVideo* video, uint16_t address, uint8_t value) { 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) { if (video->p->model < GB_MODEL_CGB) {
switch (address) { switch (address) {
case REG_BGP: case REG_BGP: