Adding a global goto but it still doesn't work with rectangle shadows

This commit is contained in:
Anonymus Raccoon
2020-02-25 02:35:07 +01:00
parent 4437df4666
commit 298f02890e
11 changed files with 91 additions and 14 deletions

View File

@@ -31,6 +31,12 @@ namespace ComSquare::Memory
//! @param data The data to write.
//! @throw InvalidAddress will be thrown if the address is more than the size of the initial IMemory.
void write(uint24_t addr, uint8_t data) override;
//! @brief Check if this memory is a mirror or not.
//! @return True if this memory is a mirror. False otherwise.
bool isMirror() override;
//! @brief Return the memory accessor this accessor mirror if any
//! @return nullptr if isMirror is false, the source otherwise.
std::shared_ptr<IMemory> getMirrored() override;
};
}