diff options
Diffstat (limited to 'qtmips_machine/memory.cpp')
-rw-r--r-- | qtmips_machine/memory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qtmips_machine/memory.cpp b/qtmips_machine/memory.cpp index a9cc055..ef4c7e2 100644 --- a/qtmips_machine/memory.cpp +++ b/qtmips_machine/memory.cpp @@ -170,7 +170,7 @@ void Memory::write_byte(std::uint32_t address, std::uint8_t value) { } std::uint8_t Memory::read_byte(std::uint32_t address) const { - MemorySection *section = this->get_section(address, true); + MemorySection *section = this->get_section(address, false); if (section == nullptr) return 0; else |