summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/sh2/sh2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/sh2/sh2.cpp')
-rw-r--r--src/devices/cpu/sh2/sh2.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/sh2/sh2.cpp b/src/devices/cpu/sh2/sh2.cpp
index 751349dbd0c..0201e8d8a44 100644
--- a/src/devices/cpu/sh2/sh2.cpp
+++ b/src/devices/cpu/sh2/sh2.cpp
@@ -193,7 +193,7 @@ sh2_device::sh2_device(const machine_config &mconfig, const char *tag, device_t
, m_out_of_cycles(nullptr)
, m_debugger_temp(0)
{
- m_isdrc = (mconfig.options().drc() && !mconfig.m_force_no_drc) ? true : false;
+ m_isdrc = allow_drc();
}
@@ -225,7 +225,7 @@ sh2_device::sh2_device(const machine_config &mconfig, device_type type, const ch
, m_nocode(nullptr)
, m_out_of_cycles(nullptr)
{
- m_isdrc = (mconfig.options().drc() && !mconfig.m_force_no_drc) ? true : false;
+ m_isdrc = allow_drc();
}
sh2a_device::sh2a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)