summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/m6805/m6805.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/m6805/m6805.cpp')
-rw-r--r--src/devices/cpu/m6805/m6805.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/devices/cpu/m6805/m6805.cpp b/src/devices/cpu/m6805/m6805.cpp
index 48f93719e7a..0b8a9b42eb1 100644
--- a/src/devices/cpu/m6805/m6805.cpp
+++ b/src/devices/cpu/m6805/m6805.cpp
@@ -263,7 +263,7 @@ m6805_base_device::m6805_base_device(
void m6805_base_device::device_start()
{
m_program = &space(AS_PROGRAM);
- m_direct = &m_program->direct();
+ m_direct = m_program->direct<0>();
// set our instruction counter
m_icountptr = &m_icount;
@@ -304,9 +304,6 @@ void m6805_base_device::device_reset()
m_nmi_state = 0;
- m_program = &space(AS_PROGRAM);
- m_direct = &m_program->direct();
-
/* IRQ disabled */
SEI;