mirror of
https://github.com/holub/mame
synced 2025-06-30 16:00:01 +03:00
Fix order of evaluation making imgui debugger not fail on starting without driver selected (nw)
This commit is contained in:
parent
b2ebca6189
commit
d6179859ad
@ -1177,7 +1177,7 @@ void debug_imgui::wait_for_debugger(device_t &device, bool firststop)
|
||||
|
||||
void debug_imgui::debugger_update()
|
||||
{
|
||||
if ((m_machine != nullptr) && (!m_machine->debugger().cpu().is_stopped()) && (m_machine->phase() == MACHINE_PHASE_RUNNING) && !m_hide)
|
||||
if (m_machine && (m_machine->phase() == MACHINE_PHASE_RUNNING) && !m_machine->debugger().cpu().is_stopped() && !m_hide)
|
||||
{
|
||||
UINT32 width = m_machine->render().ui_target().width();
|
||||
UINT32 height = m_machine->render().ui_target().height();
|
||||
|
Loading…
Reference in New Issue
Block a user