mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-06-04 18:46:11 +00:00
adding unit tests for TileRenderer but 8bpp test isn't finished
This commit is contained in:
@@ -65,7 +65,6 @@ namespace ComSquare::PPU
|
||||
|
||||
uint8_t TileRenderer::read2BPPValue(uint16_t tileRowAddress, uint8_t pixelIndex)
|
||||
{
|
||||
// TODO unit test this
|
||||
size_t size = this->_ram.getSize();
|
||||
uint8_t highByte = this->_ram.read(tileRowAddress % size);
|
||||
uint8_t lowByte = this->_ram.read((tileRowAddress + 1) % size);
|
||||
|
||||
Reference in New Issue
Block a user