mirror of
https://github.com/zoriya/ComSquare.git
synced 2025-12-21 14:45:10 +00:00
Adding const qualifiers to the IMemory and adding error messages in the memory viewer
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user