GB: PPU - Fix default OBJ palettes on power on

The naughtyemu.gb test seems to except this, otherwise the text (sprites) is white, on a white background
This commit is contained in:
Sour 2020-06-09 22:34:32 -04:00
parent f75ca7c5d0
commit 43b43a6397

View file

@ -62,6 +62,9 @@ void GbPpu::Init(Console* console, Gameboy* gameboy, GbMemoryManager* memoryMana
Write(0xFF49, 0xFF);
Write(0xFF4A, 0);
Write(0xFF4B, 0);
} else {
Write(0xFF48, 0xFF);
Write(0xFF49, 0xFF);
}
}