Made palette power up ram match the power_up_palette test. Doubt anything would ever rely on this.

This commit is contained in:
Souryo 2016-01-11 19:19:06 -05:00
parent 181e461db1
commit f3f7953392

View File

@ -17,7 +17,9 @@ PPU::PPU(MemoryManager *memoryManager)
_currentOutputBuffer = _outputBuffers[0];
memset(_paletteRAM, 0x0F, 0x20);
uint8_t paletteRamBootValues[0x20] { 0x09, 0x01, 0x00, 0x01, 0x00, 0x02, 0x02, 0x0D, 0x08, 0x10, 0x08, 0x24, 0x00, 0x00, 0x04, 0x2C,
0x09, 0x01, 0x34, 0x03, 0x00, 0x04, 0x00, 0x14, 0x08, 0x3A, 0x00, 0x02, 0x00, 0x20, 0x2C, 0x08 };
memcpy(_paletteRAM, paletteRamBootValues, sizeof(_paletteRAM));
memset(_spriteRAM, 0xFF, 0x100);
memset(_secondarySpriteRAM, 0xFF, 0x20);