mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-05-24 15:18:44 +00:00
fixing unit tests compil
This commit is contained in:
@@ -113,6 +113,10 @@ add_executable(unit_tests EXCLUDE_FROM_ALL
|
||||
sources/APU/DSP/Envelope.cpp
|
||||
sources/APU/DSP/Timer.cpp
|
||||
sources/APU/DSP/BRR.cpp
|
||||
sources/PPU/PPUUtils.cpp
|
||||
sources/PPU/Tile.hpp
|
||||
sources/PPU/TileRenderer.cpp
|
||||
sources/PPU/TileRenderer.hpp
|
||||
)
|
||||
|
||||
# include criterion & coverage
|
||||
|
||||
+2
-2
@@ -205,7 +205,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;
|
||||
@@ -250,7 +250,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;
|
||||
|
||||
+1
-1
@@ -196,6 +196,6 @@ namespace ComSquare
|
||||
this->_tileViewer->focus();
|
||||
else
|
||||
this->_tileViewer = std::make_unique<Debugger::TileViewer>(*this, *this->ppu);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user