found issues with rendering in 4 bpp

This commit is contained in:
Clément Le Bihan
2021-05-25 00:51:54 +02:00
parent 26d8dd7123
commit 434dea2ba1
3 changed files with 38 additions and 7 deletions
+3
View File
@@ -468,6 +468,9 @@ namespace ComSquare::PPU
void PPU::update(unsigned cycles)
{
(void)cycles;
this->tileRenderer.setBpp(4);
this->tileRenderer.setPaletteIndex(2);
this->tileRenderer.setNbColumns(1);
this->tileRenderer.render();
this->add_buffer(this->_screen, this->tileRenderer.buffer);