Cleaning up the memory bus and adding exception handling in the put pixel

This commit is contained in:
AnonymusRaccoon
2020-02-05 14:17:36 +01:00
parent e921306dcc
commit a0e6119841
9 changed files with 38 additions and 24 deletions
-5
View File
@@ -14,11 +14,6 @@ namespace ComSquare::Memory
this->setMemoryRegion(start, end);
}
std::shared_ptr<IMemory> MemoryShadow::createShadow(std::shared_ptr<IMemory> initial, uint24_t start, uint24_t end)
{
return static_cast<std::shared_ptr<IMemory>>(new MemoryShadow(std::move(initial), start, end));
}
uint8_t MemoryShadow::read(uint24_t addr)
{
return this->_initial->read(addr);