mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-17 07:58:55 +00:00
runloop_iterate - cut down on another runloop_ctl function call
This commit is contained in:
parent
3a4b638824
commit
ea47660282
@ -1183,7 +1183,11 @@ int runloop_iterate(event_cmd_state_t *cmd, unsigned *sleep_ms)
|
||||
static retro_time_t frame_limit_last_time = 0.0;
|
||||
settings_t *settings = config_get_ptr();
|
||||
|
||||
runloop_ctl(RUNLOOP_CTL_UNSET_FRAME_TIME_LAST, NULL);
|
||||
if (runloop_frame_time_last_enable)
|
||||
{
|
||||
runloop_frame_time_last = 0;
|
||||
runloop_frame_time_last_enable = false;
|
||||
}
|
||||
|
||||
if (runloop_set_frame_limit)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user