mirror of
https://github.com/zoriya/ComSquare.git
synced 2025-12-21 22:55:11 +00:00
Finishing to clean tests and adding the start of the bus logger
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user