summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/coco12.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/coco12.cpp')
-rw-r--r--src/mame/machine/coco12.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/machine/coco12.cpp b/src/mame/machine/coco12.cpp
index 4469410ed5f..258834131e0 100644
--- a/src/mame/machine/coco12.cpp
+++ b/src/mame/machine/coco12.cpp
@@ -29,7 +29,7 @@ void coco12_state::device_start()
void coco12_state::configure_sam()
{
- offs_t ramsize = m_ram->size() - 1;
+ offs_t ramsize = m_ram->size();
m_sam->space(0).install_ram(0, ramsize - 1, m_ram->pointer());
if (ramsize < 65536)
m_sam->space(0).nop_readwrite(ramsize, 0xffff);