diff options
author | AJR <ajrhacker@users.noreply.github.com> | 2021-04-06 11:16:47 -0400 |
---|---|---|
committer | Vas Crabb <cuavas@users.noreply.github.com> | 2021-04-09 02:26:45 +1000 |
commit | 0b3f153f4db7ebb63f59bdf2dd098dfea26e1b44 (patch) | |
tree | 24c7eb17d74ca68367b0c696581bce0b5a172979 /src/emu | |
parent | d7fa230addade73e3cff96f86afcbc2a76cd7a21 (diff) |
Allow breaking into main menu before the machine fully starts (i.e. just before the initial soft reset) by using the normal "Config Menu" UI input
Note that the minor code shuffling in machine.cpp is necessary to prevent emulation from getting confused if "Select New Game" happens to be selected.
Diffstat (limited to 'src/emu')
-rw-r--r-- | src/emu/machine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/machine.cpp b/src/emu/machine.cpp index 510b763b523..aecaf26ed15 100644 --- a/src/emu/machine.cpp +++ b/src/emu/machine.cpp @@ -355,6 +355,8 @@ int running_machine::run(bool quiet) if (!quiet) sound().start_recording(); + m_hard_reset_pending = false; + // initialize ui lists // display the startup screens manager().ui_initialize(*this); @@ -368,8 +370,6 @@ int running_machine::run(bool quiet) export_http_api(); - m_hard_reset_pending = false; - #if defined(__EMSCRIPTEN__) // break out to our async javascript loop and halt emscripten_set_running_machine(this); |