summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/c117.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/c117.cpp')
-rw-r--r--src/mame/machine/c117.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/machine/c117.cpp b/src/mame/machine/c117.cpp
index 421974254a3..94576cf9832 100644
--- a/src/mame/machine/c117.cpp
+++ b/src/mame/machine/c117.cpp
@@ -79,8 +79,8 @@ void namco_c117_device::device_start()
m_cpuexec[0] = maincpu;
m_cpuexec[1] = subcpu;
- m_cpudirect[0] = &maincpu->space(AS_PROGRAM).direct();
- m_cpudirect[1] = &subcpu->space(AS_PROGRAM).direct();
+ m_cpudirect[0] = maincpu->space(AS_PROGRAM).direct<0>();
+ m_cpudirect[1] = subcpu->space(AS_PROGRAM).direct<0>();
memset(&m_offsets, 0, sizeof(m_offsets));
m_subres = m_wdog = 0;