mirror of
https://github.com/holub/mame
synced 2025-06-06 12:53:46 +03:00
debugqt: Fix 'source' capability. [Happy]
This commit is contained in:
parent
ab7d30873a
commit
5305ed398f
@ -2,7 +2,7 @@
|
||||
//
|
||||
// debugqt.c - SDL/QT debug window handling
|
||||
//
|
||||
// Copyright (c) 1996-2010, Nicola Salmoria and the MAME Team.
|
||||
// Copyright (c) 1996-2014, Nicola Salmoria and the MAME Team.
|
||||
// Visit http://mamedev.org for licensing and usage restrictions.
|
||||
//
|
||||
// SDLMAME by Olivier Galibert and R. Belmont
|
||||
@ -284,8 +284,6 @@ void debugger_qt::wait_for_debugger(device_t &device, bool firststop)
|
||||
mainQtWindow->setProcessor(&device);
|
||||
|
||||
// Run our own QT event loop
|
||||
while (debug_cpu_is_stopped(m_osd.machine()))
|
||||
{
|
||||
osd_sleep(50000);
|
||||
qApp->processEvents(QEventLoop::AllEvents, 1);
|
||||
|
||||
@ -317,12 +315,10 @@ void debugger_qt::wait_for_debugger(device_t &device, bool firststop)
|
||||
// We need to do this here because by the time xml_configuration_save gets called
|
||||
// all the QT windows are already gone.
|
||||
gather_save_configurations();
|
||||
break;
|
||||
}
|
||||
#if defined(WIN32) && !defined(SDLMAME_WIN32)
|
||||
winwindow_update_cursor_state(m_osd.machine()); // make sure the cursor isn't hidden while in debugger
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user