diff options
Diffstat (limited to 'src/osd/windows/video.cpp')
-rw-r--r-- | src/osd/windows/video.cpp | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/src/osd/windows/video.cpp b/src/osd/windows/video.cpp index 889e76caa6b..3f3fe78f1f7 100644 --- a/src/osd/windows/video.cpp +++ b/src/osd/windows/video.cpp @@ -95,10 +95,6 @@ void windows_osd_interface::update(bool skip_redraw) // profiler_mark(PROFILER_END); } - // poll the joystick values here - winwindow_process_events(machine(), true, false); - poll_input(machine()); - check_osd_inputs(); // if we're running, disable some parts of the debugger if ((machine().debug_flags & DEBUG_FLAG_OSD_ENABLED) != 0) debugger_update(); @@ -106,6 +102,18 @@ void windows_osd_interface::update(bool skip_redraw) //============================================================ +// input_update +//============================================================ + +void windows_osd_interface::input_update() +{ + // poll the joystick values here + winwindow_process_events(machine(), true, false); + poll_input(machine()); + check_osd_inputs(); +} + +//============================================================ // check_osd_inputs //============================================================ |