summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/drcuml.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/cpu/drcuml.h')
-rw-r--r--src/emu/cpu/drcuml.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/emu/cpu/drcuml.h b/src/emu/cpu/drcuml.h
index 072bbcfa9d1..aef1f5c76ff 100644
--- a/src/emu/cpu/drcuml.h
+++ b/src/emu/cpu/drcuml.h
@@ -22,7 +22,6 @@
//**************************************************************************
// these options are passed into drcuml_alloc() and control global behaviors
-const UINT32 DRCUML_OPTION_LOG_NATIVE = 0x0004; // tell the back-end to generate a native disassembly of each block
@@ -148,6 +147,7 @@ public:
virtual void generate(drcuml_block &block, const uml::instruction *instlist, UINT32 numinst) = 0;
virtual bool hash_exists(UINT32 mode, UINT32 pc) = 0;
virtual void get_info(drcbe_info &info) = 0;
+ virtual bool logging() const { return false; }
protected:
// internal state
@@ -195,6 +195,7 @@ public:
bool logging() const { return (m_umllog != NULL); }
void log_printf(const char *format, ...) ATTR_PRINTF(2,3);
void log_flush() { if (logging()) fflush(m_umllog); }
+ bool logging_native() const { return m_beintf.logging(); }
private:
// symbol class