diff options
Diffstat (limited to 'src/emu/machine.cpp')
-rw-r--r-- | src/emu/machine.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/emu/machine.cpp b/src/emu/machine.cpp index 1d8fe872fd1..5baa3f67594 100644 --- a/src/emu/machine.cpp +++ b/src/emu/machine.cpp @@ -974,6 +974,17 @@ void running_machine::logfile_callback(const char *buffer) //------------------------------------------------- +// steal_debuglogfile - relinquish ownership of +// the debug.log file +//------------------------------------------------- + +std::unique_ptr<emu_file> running_machine::steal_debuglogfile() +{ + return std::move(m_debuglogfile); +} + + +//------------------------------------------------- // start_all_devices - start any unstarted devices //------------------------------------------------- |