Finishing to clean tests and adding the start of the bus logger

This commit is contained in:
Anonymus Raccoon
2020-03-24 01:53:45 +01:00
parent 09cd825bed
commit 95f17c06a8
47 changed files with 2421 additions and 2176 deletions

View File

@@ -8,7 +8,7 @@
namespace ComSquare::Memory
{
MemoryShadow::MemoryShadow(std::shared_ptr<IMemory> initial, uint24_t start, uint24_t end)
MemoryShadow::MemoryShadow(std::shared_ptr<AMemory> initial, uint24_t start, uint24_t end)
: _initial(std::move(initial))
{
this->setMemoryRegion(start, end);
@@ -29,8 +29,13 @@ namespace ComSquare::Memory
return true;
}
std::shared_ptr<IMemory> MemoryShadow::getMirrored()
std::shared_ptr<AMemory> MemoryShadow::getMirrored()
{
return this->_initial;
}
std::string MemoryShadow::getName()
{
return this->_initial->getName();
}
}