summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/sh/sh2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/sh/sh2.cpp')
-rw-r--r--src/devices/cpu/sh/sh2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/sh/sh2.cpp b/src/devices/cpu/sh/sh2.cpp
index 4678ad5ffca..3d565fb3519 100644
--- a/src/devices/cpu/sh/sh2.cpp
+++ b/src/devices/cpu/sh/sh2.cpp
@@ -441,7 +441,7 @@ void sh2_device::device_start()
m_ftcsr_read_cb.bind_relative_to(*owner());
m_decrypted_program = has_space(AS_OPCODES) ? &space(AS_OPCODES) : &space(AS_PROGRAM);
- m_direct = &m_decrypted_program->direct();
+ m_direct = m_decrypted_program->direct<0>();
m_internal = &space(AS_PROGRAM);
save_item(NAME(m_cpu_off));