mirror of
https://github.com/libretro/RetroArch
synced 2025-03-02 19:13:34 +00:00
Move static variable around
This commit is contained in:
parent
d95b4b70e7
commit
6048eba78a
@ -2600,7 +2600,6 @@ static enum runloop_state runloop_check_state(
|
||||
static input_bits_t last_input = {{0}};
|
||||
#endif
|
||||
static bool runloop_exec = false;
|
||||
static bool old_fs_toggle_pressed= false;
|
||||
static bool old_focus = true;
|
||||
bool is_focused = false;
|
||||
bool is_alive = false;
|
||||
@ -2685,9 +2684,10 @@ static enum runloop_state runloop_check_state(
|
||||
|
||||
/* Check fullscreen toggle */
|
||||
{
|
||||
bool fs_toggle_pressed = BIT256_GET(
|
||||
static bool old_fs_toggle_pressed = false;
|
||||
bool fs_toggle_pressed = BIT256_GET(
|
||||
current_input, RARCH_FULLSCREEN_TOGGLE_KEY);
|
||||
fs_toggle_triggered = fs_toggle_pressed && !old_fs_toggle_pressed;
|
||||
fs_toggle_triggered = fs_toggle_pressed && !old_fs_toggle_pressed;
|
||||
|
||||
if (fs_toggle_triggered)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user