Removed TargetMemoryDescriptor dependency in MemoryRegion class (in preparation for saving & loading memory regions from Bloom's project settings file)
This commit is contained in:
@@ -40,6 +40,10 @@ namespace Bloom::Targets
|
||||
[[nodiscard]] bool contains(std::uint32_t address) const {
|
||||
return address >= this->startAddress && address <= this->endAddress;
|
||||
}
|
||||
|
||||
[[nodiscard]] bool contains(const TargetMemoryAddressRange& addressRange) const {
|
||||
return this->startAddress <= addressRange.startAddress && this->endAddress >= addressRange.endAddress;
|
||||
}
|
||||
};
|
||||
|
||||
struct TargetMemoryDescriptor
|
||||
|
||||
Reference in New Issue
Block a user