TileRenderer.cpp is now supporting rendering 8bpp color format

This commit is contained in:
Clément Le Bihan
2021-05-27 00:14:49 +02:00
parent 85ac1422e2
commit 7a0b2303d7
3 changed files with 24 additions and 16 deletions
+2 -2
View File
@@ -468,8 +468,8 @@ namespace ComSquare::PPU
void PPU::update(unsigned cycles)
{
(void)cycles;
this->tileRenderer.setBpp(4);
this->tileRenderer.setPaletteIndex(2);
this->tileRenderer.setBpp(8);
this->tileRenderer.setPaletteIndex(0);
this->tileRenderer.setNbColumns(16);
this->tileRenderer.render();
// for (auto &i : this->_screen)