Adding const qualifiers to the IMemory and adding error messages in the memory viewer

This commit is contained in:
Zoe Roux
2021-02-04 10:22:30 +01:00
parent 2e4e39a696
commit c9eed50289
30 changed files with 208 additions and 123 deletions

View File

@@ -15,7 +15,7 @@ namespace ComSquare::CPU
this->_bus = std::move(bus);
}
uint8_t DMA::read(uint8_t addr)
uint8_t DMA::read(uint8_t addr) const
{
switch (addr) {
case 0x0: