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:
parent
f75ca7c5d0
commit
43b43a6397
1 changed files with 3 additions and 0 deletions
|
@ -62,6 +62,9 @@ void GbPpu::Init(Console* console, Gameboy* gameboy, GbMemoryManager* memoryMana
|
||||||
Write(0xFF49, 0xFF);
|
Write(0xFF49, 0xFF);
|
||||||
Write(0xFF4A, 0);
|
Write(0xFF4A, 0);
|
||||||
Write(0xFF4B, 0);
|
Write(0xFF4B, 0);
|
||||||
|
} else {
|
||||||
|
Write(0xFF48, 0xFF);
|
||||||
|
Write(0xFF49, 0xFF);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue