mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-05-26 15:59:22 +00:00
merge and fx cmake
This commit is contained in:
+9
-2
@@ -60,7 +60,10 @@ add_executable(unit_tests
|
||||
tests/CPU/Math/testADC.cpp
|
||||
tests/CPU/testStore.cpp
|
||||
sources/CPU/Instructions/InternalInstruction.cpp
|
||||
tests/CPU/testInternal.cpp)
|
||||
tests/CPU/testInternal.cpp
|
||||
sources/Ram/ExtendedRam.cpp
|
||||
sources/Ram/ExtendedRam.hpp
|
||||
)
|
||||
|
||||
# include criterion & coverage
|
||||
target_link_libraries(unit_tests criterion -lgcov)
|
||||
@@ -112,7 +115,11 @@ add_executable(ComSquare
|
||||
sources/Exceptions/InvalidOpcode.hpp
|
||||
sources/CPU/Instructions/Interrupts.cpp
|
||||
sources/CPU/Instructions/MathematicalOperations.cpp
|
||||
sources/CPU/Instructions/MemoryInstructions.cpp sources/CPU/Instructions/InternalInstruction.cpp sources/Ram/ExtendedRam.cpp sources/Ram/ExtendedRam.hpp)
|
||||
sources/CPU/Instructions/MemoryInstructions.cpp
|
||||
sources/CPU/Instructions/InternalInstruction.cpp
|
||||
sources/Ram/ExtendedRam.cpp
|
||||
sources/Ram/ExtendedRam.hpp
|
||||
)
|
||||
|
||||
target_link_libraries(ComSquare
|
||||
sfml-graphics
|
||||
|
||||
@@ -203,8 +203,6 @@ namespace ComSquare::PPU
|
||||
_vram(64000),
|
||||
_oamram(544),
|
||||
_cgram(512)
|
||||
_renderer(renderer),
|
||||
_bus(std::move(bus))
|
||||
{
|
||||
this->_isLowByte = true;
|
||||
//_vram = new uint16_t[32000];
|
||||
|
||||
Reference in New Issue
Block a user