mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 18:40:49 +00:00
Revert "Move Message loop call to right before video_driver_get_status
call"
This reverts commit 838dcc8a5a3b57f7d9e737ba264428422d336c99.
This commit is contained in:
parent
279c635b91
commit
38a35e53fd
@ -1045,7 +1045,12 @@ void win32_check_window(bool *quit, bool *resize,
|
|||||||
unsigned *width, unsigned *height)
|
unsigned *width, unsigned *height)
|
||||||
{
|
{
|
||||||
#if !defined(_XBOX)
|
#if !defined(_XBOX)
|
||||||
|
const ui_application_t *application =
|
||||||
|
ui_companion_driver_get_application_ptr();
|
||||||
|
if (application)
|
||||||
|
application->process_events();
|
||||||
*quit = g_win32_quit;
|
*quit = g_win32_quit;
|
||||||
|
#endif
|
||||||
|
|
||||||
if (g_win32_resized)
|
if (g_win32_resized)
|
||||||
{
|
{
|
||||||
@ -1054,7 +1059,6 @@ void win32_check_window(bool *quit, bool *resize,
|
|||||||
*height = g_win32_resize_height;
|
*height = g_win32_resize_height;
|
||||||
g_win32_resized = false;
|
g_win32_resized = false;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool win32_suppress_screensaver(void *data, bool enable)
|
bool win32_suppress_screensaver(void *data, bool enable)
|
||||||
|
@ -2535,13 +2535,6 @@ 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);
|
video_driver_get_status(&frame_count, &is_alive, &is_focused);
|
||||||
|
|
||||||
#ifdef HAVE_MENU
|
#ifdef HAVE_MENU
|
||||||
|
Loading…
x
Reference in New Issue
Block a user