mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Cleanup
This commit is contained in:
parent
c76e92622d
commit
b467865c82
@ -1144,6 +1144,7 @@ int runloop_iterate(unsigned *sleep_ms)
|
||||
uint64_t current_input = menu_driver_ctl(RARCH_MENU_CTL_IS_ALIVE, NULL) ? input_menu_keys_pressed() : input_keys_pressed();
|
||||
uint64_t old_input = last_input;
|
||||
static char old_core[PATH_MAX_LENGTH] = "";
|
||||
last_input = current_input;
|
||||
|
||||
if (!string_is_equal(old_core, path_get(RARCH_PATH_CORE)))
|
||||
{
|
||||
@ -1151,8 +1152,6 @@ int runloop_iterate(unsigned *sleep_ms)
|
||||
strlcpy (old_core, path_get(RARCH_PATH_CORE), sizeof(old_core));
|
||||
}
|
||||
|
||||
last_input = current_input;
|
||||
|
||||
if (runloop_frame_time_last_enable)
|
||||
{
|
||||
runloop_frame_time_last = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user