diff options
author | 2023-02-23 02:06:28 +1100 | |
---|---|---|
committer | 2023-02-23 02:06:28 +1100 | |
commit | a72c02133fe08d4b2d8f420eec0814bb595ca7db (patch) | |
tree | 8b2bd0411e103a714e7764d6494ea85eb27859db /src/osd/modules/debugger/debugwin.cpp | |
parent | cf4310a1e73ddd253e0d1ea49414a475f3c8bb50 (diff) |
osd: Don't pump events when reading inputs.
This was a drain on performance. If anything is trying to poll inputs
in a loop, it needs to call input_update() to ensure it gets up-to-date
state.
Diffstat (limited to 'src/osd/modules/debugger/debugwin.cpp')
-rw-r--r-- | src/osd/modules/debugger/debugwin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/modules/debugger/debugwin.cpp b/src/osd/modules/debugger/debugwin.cpp index 2793452dbe6..220d0c96e3b 100644 --- a/src/osd/modules/debugger/debugwin.cpp +++ b/src/osd/modules/debugger/debugwin.cpp @@ -195,7 +195,7 @@ void debugger_windows::wait_for_debugger(device_t &device, bool firststop) show_all(); // run input polling to ensure that our status is in sync - downcast<windows_osd_interface&>(machine().osd()).poll_input(*m_machine); + downcast<windows_osd_interface&>(machine().osd()).poll_input_modules(); // get and process messages MSG message; |