Add an address masking to the memory mapping structure.

Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
Adrian Conlon committed 2018-11-01 23:43:29 +00:00
1 parent 7af81018c9
commit 68a785ceec
10 files changed
+24 -23

No files matched your search

+1 -1
View File
@@ -21,7 +21,7 @@ public:
protected:
virtual EightBit::MemoryMapping mapping(uint16_t address) final {
return { m_ram, 0x0000, EightBit::MemoryMapping::ReadWrite };
return { m_ram, 0x0000, 0xffff, EightBit::MemoryMapping::ReadWrite };
}
private: