setting the modification of getTilePixelReference

This commit is contained in:
Clément Le Bihan
2020-09-30 00:09:09 +02:00
parent fa97b2ab38
commit 2d0e250982
5 changed files with 39 additions and 9 deletions
+2 -2
View File
@@ -129,7 +129,7 @@ namespace ComSquare::PPU
uint8_t PPU::read(uint24_t addr)
{
return 0;
// return 0;
switch (addr) {
case ppuRegisters::mpyl:
return this->_registers._mpy.mpyl;
@@ -158,7 +158,7 @@ namespace ComSquare::PPU
void PPU::write(uint24_t addr, uint8_t data)
{
return;
//return;
switch (addr) {
case ppuRegisters::inidisp:
this->_registers._inidisp.raw = data;