diff options
Diffstat (limited to 'src/emu/machine.cpp')
| -rw-r--r-- | src/emu/machine.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/emu/machine.cpp b/src/emu/machine.cpp index 5eb1e4f3037..27f6d0dd568 100644 --- a/src/emu/machine.cpp +++ b/src/emu/machine.cpp @@ -283,7 +283,7 @@ void running_machine::start() // run - execute the machine //------------------------------------------------- -int running_machine::run(bool firstrun) +int running_machine::run(bool quiet) { int error = EMU_ERR_NONE; @@ -294,7 +294,7 @@ int running_machine::run(bool firstrun) m_current_phase = MACHINE_PHASE_INIT; // if we have a logfile, set up the callback - if (options().log() && &system() != &GAME_NAME(___empty)) + if (options().log() && !quiet) { m_logfile = std::make_unique<emu_file>(OPEN_FLAG_WRITE | OPEN_FLAG_CREATE | OPEN_FLAG_CREATE_PATHS); osd_file::error filerr = m_logfile->open("error.log"); @@ -315,10 +315,12 @@ int running_machine::run(bool firstrun) nvram_load(); sound().ui_mute(false); + if (!quiet) + sound().start_recording(); // initialize ui lists // display the startup screens - manager().ui_initialize(*this, firstrun); + manager().ui_initialize(*this); // perform a soft reset -- this takes us to the running phase soft_reset(); |
