mirror of
https://github.com/zoriya/ComSquare.git
synced 2025-12-21 06:35:10 +00:00
hot fix
This commit is contained in:
@@ -23,7 +23,7 @@ namespace ComSquare::Ram
|
||||
uint16_t ExtendedRam::read(uint24_t addr)
|
||||
{
|
||||
if (addr >= this->_size)
|
||||
throw InvalidAddress("ExtendedRam Write", addr);
|
||||
throw InvalidAddress("ExtendedRam Read", addr);
|
||||
return this->_data[addr];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user