mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 16:39:43 +00:00
Move Message loop call to right before video_driver_get_status
call
This commit is contained in:
parent
c3d469dd8e
commit
838dcc8a5a
@ -1117,12 +1117,7 @@ void win32_check_window(bool *quit, bool *resize,
|
||||
unsigned *width, unsigned *height)
|
||||
{
|
||||
#if !defined(_XBOX)
|
||||
const ui_application_t *application =
|
||||
ui_companion_driver_get_application_ptr();
|
||||
if (application)
|
||||
application->process_events();
|
||||
*quit = g_win32_quit;
|
||||
#endif
|
||||
|
||||
if (g_win32_resized)
|
||||
{
|
||||
@ -1131,6 +1126,7 @@ void win32_check_window(bool *quit, bool *resize,
|
||||
*height = g_win32_resize_height;
|
||||
g_win32_resized = false;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
bool win32_suppress_screensaver(void *data, bool enable)
|
||||
|
@ -2535,6 +2535,13 @@ static enum runloop_state runloop_check_state(
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
const ui_application_t *application =
|
||||
ui_companion_driver_get_application_ptr();
|
||||
if (application)
|
||||
application->process_events();
|
||||
}
|
||||
|
||||
video_driver_get_status(&frame_count, &is_alive, &is_focused);
|
||||
|
||||
#ifdef HAVE_MENU
|
||||
|
Loading…
Reference in New Issue
Block a user