mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-25 20:32:22 +00:00
fixes "Save Shader Preset As" dialog immediately popping up again on linux
This commit is contained in:
parent
52f8bef386
commit
39c02664a8
12
retroarch.c
12
retroarch.c
@ -23328,10 +23328,9 @@ static enum runloop_state runloop_check_state(void)
|
||||
static bool old_focus = true;
|
||||
settings_t *settings = configuration_settings;
|
||||
float fastforward_ratio = settings->floats.fastforward_ratio;
|
||||
bool is_focused = video_has_focus();
|
||||
bool is_alive = current_video ?
|
||||
current_video->alive(video_driver_data) : true;
|
||||
uint64_t frame_count = video_driver_frame_count;
|
||||
bool is_focused = false;
|
||||
bool is_alive = false;
|
||||
uint64_t frame_count = 0;
|
||||
bool focused = true;
|
||||
bool pause_nonactive = settings->bools.pause_nonactive;
|
||||
bool rarch_is_initialized = rarch_is_inited;
|
||||
@ -23395,6 +23394,11 @@ static enum runloop_state runloop_check_state(void)
|
||||
application->process_events();
|
||||
}
|
||||
|
||||
frame_count = video_driver_frame_count;
|
||||
is_alive = current_video ?
|
||||
current_video->alive(video_driver_data) : true;
|
||||
is_focused = video_has_focus();
|
||||
|
||||
#ifdef HAVE_MENU
|
||||
if (menu_driver_binding_state)
|
||||
BIT256_CLEAR_ALL(current_bits);
|
||||
|
Loading…
x
Reference in New Issue
Block a user