mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
Fix conflicting types.
Fixes conflicting types after PR https://github.com/libretro/RetroArch/pull/8006
This commit is contained in:
parent
db0cb37dc3
commit
8787f46c59
@ -2582,6 +2582,7 @@ static enum runloop_state runloop_check_state(
|
|||||||
#endif
|
#endif
|
||||||
static bool old_quit_key = false;
|
static bool old_quit_key = false;
|
||||||
static bool quit_key = false;
|
static bool quit_key = false;
|
||||||
|
static bool trig_quit_key = false;
|
||||||
static bool runloop_exec = false;
|
static bool runloop_exec = false;
|
||||||
static bool old_focus = true;
|
static bool old_focus = true;
|
||||||
bool is_focused = false;
|
bool is_focused = false;
|
||||||
@ -2720,10 +2721,9 @@ static enum runloop_state runloop_check_state(
|
|||||||
|
|
||||||
/* Check quit key */
|
/* Check quit key */
|
||||||
{
|
{
|
||||||
bool quit_key = BIT256_GET(
|
quit_key = BIT256_GET(
|
||||||
current_input, RARCH_QUIT_KEY);
|
current_input, RARCH_QUIT_KEY);
|
||||||
bool trig_quit_key = quit_key && !old_quit_key;
|
trig_quit_key = quit_key && !old_quit_key;
|
||||||
|
|
||||||
old_quit_key = quit_key;
|
old_quit_key = quit_key;
|
||||||
|
|
||||||
if (time_to_exit(trig_quit_key))
|
if (time_to_exit(trig_quit_key))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user