diff options
author | npwoods <npwoods@mess.org> | 2019-08-28 19:15:42 -0400 |
---|---|---|
committer | npwoods <npwoods@mess.org> | 2019-08-28 19:15:42 -0400 |
commit | 4732ef1a5904dcd25728b06e230075eb2465d923 (patch) | |
tree | a61e61e091918ebed5acad19a56925f48ec3242d /src/emu | |
parent | f10b2f45adcec61978db007f965b7c42ae8e0975 (diff) |
Exposing running_machine::exit_pending() and
running_machine::hard_reset_pending() to LUA
Diffstat (limited to 'src/emu')
-rw-r--r-- | src/emu/machine.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emu/machine.h b/src/emu/machine.h index 2d1c8fe2613..8d151bc0c92 100644 --- a/src/emu/machine.h +++ b/src/emu/machine.h @@ -193,6 +193,7 @@ public: machine_phase phase() const { return m_current_phase; } bool paused() const { return m_paused || (m_current_phase != machine_phase::RUNNING); } bool exit_pending() const { return m_exit_pending; } + bool hard_reset_pending() const { return m_hard_reset_pending; } bool ui_active() const { return m_ui_active; } const char *basename() const { return m_basename.c_str(); } int sample_rate() const { return m_sample_rate; } |