This commit is contained in:
Clément Le Bihan
2021-06-23 22:02:12 +02:00
parent 4de2d61aaa
commit 6c1fc61a28
9 changed files with 38 additions and 47 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ namespace ComSquare::PPU
for (auto &row : this->buffer) {
for (auto &pixel : row) {
uint8_t pixelReference = this->getPixelReferenceFromTile(tileAddress, it++);
pixel = pixelReference ? getRealColor(palette[pixelReference]) : 0;
pixel = pixelReference ? Utils::getRealColor(palette[pixelReference]) : 0;
}
}
}