fixing ppu compil

This commit is contained in:
Clément Le Bihan
2021-07-04 09:23:22 +02:00
parent 5b900da44f
commit 14618417a8
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ namespace ComSquare::PPU
{
this->_registers._isLowByte = true;
Utils::Debug::populateEnvironment(*this, 0);
//Utils::Debug::populateEnvironment(*this, 0);
}
uint8_t PPU::read(uint24_t addr)
+1 -1
View File
@@ -632,7 +632,7 @@ namespace ComSquare::PPU
for (unsigned long i = 0; i < bufferSrc.size(); i++) {
for (unsigned long j = 0; j < bufferSrc[i].size(); j++) {
if (bufferSrc[i][j] > 0xFF) // 0xFF correspond to a black pixel with full brightness
bufferDest[i + offset.x ][j + offset.y] = bufferSrc[i][j];
bufferDest[i][j] = bufferSrc[i][j];
}
}
}