Solving a bug with the Rectangle memory

This commit is contained in:
AnonymusRaccoon
2020-02-05 16:42:38 +01:00
parent bc65afb405
commit be33c33e07
2 changed files with 4 additions and 2 deletions

View File

@@ -15,6 +15,7 @@ namespace ComSquare::Memory
{
auto it = std::find_if(this->_memoryAccessors.begin(), this->_memoryAccessors.end(), [addr](std::shared_ptr<IMemory> &accessor)
{
// std::cout << "Accessor: " << std::hex << accessor->getStart() << " Has access:: " << accessor->hasMemoryAt(addr) << std::endl;
return accessor->hasMemoryAt(addr);
});
if (it == this->_memoryAccessors.end())