summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/6883sam.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/machine/6883sam.c')
-rw-r--r--src/mess/machine/6883sam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mess/machine/6883sam.c b/src/mess/machine/6883sam.c
index 84deaee8a6f..2bd91da284c 100644
--- a/src/mess/machine/6883sam.c
+++ b/src/mess/machine/6883sam.c
@@ -74,7 +74,7 @@ void sam6883_device::device_start()
/* find the CPU */
m_cpu = machine().device<cpu_device>(config->m_cpu_tag);
- m_cpu_space = m_cpu->space(config->m_cpu_space);
+ m_cpu_space = &m_cpu->space(config->m_cpu_space);
/* resolve callbacks */
m_res_input_func.resolve(config->m_input_func, *this);