mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-05-30 01:05:34 +00:00
fixing ppu compil
This commit is contained in:
+1
-1
@@ -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
@@ -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];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user