diff options
Diffstat (limited to 'src/emu/cpu/drcuml.c')
-rw-r--r-- | src/emu/cpu/drcuml.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/cpu/drcuml.c b/src/emu/cpu/drcuml.c index e3893039b9f..2e56b7a4c47 100644 --- a/src/emu/cpu/drcuml.c +++ b/src/emu/cpu/drcuml.c @@ -121,13 +121,13 @@ drcbe_interface::~drcbe_interface() drcuml_state::drcuml_state(device_t &device, drc_cache &cache, UINT32 flags, int modes, int addrbits, int ignorebits) : m_device(device), m_cache(cache), - m_beintf((device.machine().options().drc_use_c()) ? + m_beintf(device.machine().options().drc_use_c() ? *static_cast<drcbe_interface *>(auto_alloc(device.machine(), drcbe_c(*this, device, cache, flags, modes, addrbits, ignorebits))) : *static_cast<drcbe_interface *>(auto_alloc(device.machine(), drcbe_native(*this, device, cache, flags, modes, addrbits, ignorebits)))), m_umllog(NULL) { // if we're to log, create the logfile - if (flags & DRCUML_OPTION_LOG_UML) + if (device.machine().options().drc_log_uml()) m_umllog = fopen("drcuml.asm", "w"); } |