mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-05-24 15:18:44 +00:00
Cleaning up the memory bus and adding exception handling in the put pixel
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user