summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/sh2/sh2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/cpu/sh2/sh2.c')
-rw-r--r--src/emu/cpu/sh2/sh2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/cpu/sh2/sh2.c b/src/emu/cpu/sh2/sh2.c
index 179cc533dc3..a60b8215a26 100644
--- a/src/emu/cpu/sh2/sh2.c
+++ b/src/emu/cpu/sh2/sh2.c
@@ -171,7 +171,7 @@ sh2_device::sh2_device(const machine_config &mconfig, const char *tag, device_t
, m_out_of_cycles(NULL)
, m_debugger_temp(0)
{
- m_isdrc = mconfig.options().drc() ? true : false;
+ m_isdrc = (mconfig.options().drc() && !mconfig.m_force_no_drc) ? true : false;
}
@@ -208,7 +208,7 @@ sh2_device::sh2_device(const machine_config &mconfig, device_type type, const ch
, m_nocode(NULL)
, m_out_of_cycles(NULL)
{
- m_isdrc = mconfig.options().drc() ? true : false;
+ m_isdrc = (mconfig.options().drc() && !mconfig.m_force_no_drc);
}
sh1_device::sh1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)