void sdl_osd_interface::poll_input(void) { // poll the joystick values here //sdlinput_process_events_buf(); sdlinput_poll(machine()); check_osd_inputs(machine()); }
void sdl_osd_interface::update(bool skip_redraw) { sdl_window_info *window; if (m_watchdog != NULL) m_watchdog->reset(); // if we're not skipping this redraw, update all windows if (!skip_redraw) { // profiler_mark(PROFILER_BLIT); for (window = sdl_window_list; window != NULL; window = window->next) sdlwindow_video_window_update(machine(), window); // profiler_mark(PROFILER_END); } // poll the joystick values here sdlinput_poll(machine()); check_osd_inputs(machine()); #if !defined(NO_DEBUGGER) if ((machine().debug_flags & DEBUG_FLAG_OSD_ENABLED) != 0) debugwin_update_during_game(machine()); #endif }
int osd_update(mame_time emutime) { win_window_info *window; // if we're throttling, paused, or if the UI is up, synchronize if (effective_throttle()) update_throttle(emutime); // update the FPS computations update_fps(emutime); // update all the windows, but only if we're not skipping this frame if (!skiptable[effective_frameskip()][frameskip_counter]) { profiler_mark(PROFILER_BLIT); for (window = win_window_list; window != NULL; window = window->next) winwindow_video_window_update(window); profiler_mark(PROFILER_END); } // if we're throttling and autoframeskip is on, adjust if (effective_throttle() && effective_autoframeskip() && frameskip_counter == 0) update_autoframeskip(); // poll the joystick values here winwindow_process_events(TRUE); wininput_poll(); check_osd_inputs(); // increment the frameskip counter frameskip_counter = (frameskip_counter + 1) % FRAMESKIP_LEVELS; // return whether or not to skip the next frame return skiptable[effective_frameskip()][frameskip_counter]; }
void windows_osd_interface::poll_input(void) { // poll the joystick values here winwindow_process_events(machine(), TRUE, FALSE); wininput_poll(machine()); check_osd_inputs(machine()); }
void windows_osd_interface::update(bool skip_redraw) { // ping the watchdog on each update winmain_watchdog_ping(); // if we're not skipping this redraw, update all windows if (!skip_redraw) for (win_window_info *window = win_window_list; window != NULL; window = window->next) winwindow_video_window_update(window); // poll the joystick values here winwindow_process_events(machine(), TRUE, FALSE); wininput_poll(machine()); check_osd_inputs(machine()); }
void windows_osd_interface::update(bool skip_redraw) { // ping the watchdog on each update winmain_watchdog_ping(); // if we're not skipping this redraw, update all windows if (!skip_redraw) for (win_window_info *window = win_window_list; window != NULL; window = window->next) winwindow_video_window_update(window); // poll the joystick values here winwindow_process_events(machine(), TRUE, FALSE); wininput_poll(machine()); check_osd_inputs(machine()); // if we're running, disable some parts of the debugger if ((machine().debug_flags & DEBUG_FLAG_OSD_ENABLED) != 0) debugger_update(); }
void windows_osd_interface::update(bool skip_redraw) { osd_common_t::update(skip_redraw); // if we're not skipping this redraw, update all windows if (!skip_redraw) { // profiler_mark(PROFILER_BLIT); for (auto window : osd_common_t::s_window_list) window->update(); // 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(); }
void sdl_osd_interface::update(bool skip_redraw) { sdl_window_info *window; if (m_watchdog != NULL) m_watchdog->reset(); // if we're not skipping this redraw, update all windows if (!skip_redraw) { // profiler_mark(PROFILER_BLIT); for (window = sdl_window_list; window != NULL; window = window->m_next) window->update(); // profiler_mark(PROFILER_END); } // poll the joystick values here sdlinput_poll(machine()); check_osd_inputs(machine()); // if we're running, disable some parts of the debugger if ((machine().debug_flags & DEBUG_FLAG_OSD_ENABLED) != 0) debugger_update(); }