mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-06-08 12:10:34 +00:00
TileRenderer.cpp is now supporting rendering 8bpp color format
This commit is contained in:
+2
-2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user