C89 buildfix
This commit is contained in:
parent
91a5b09627
commit
2cfae2a6e7
|
@ -3445,6 +3445,8 @@ int runloop_iterate(unsigned *sleep_ms)
|
||||||
if (settings->floats.fastforward_ratio || settings->bools.vrr_runloop_enable)
|
if (settings->floats.fastforward_ratio || settings->bools.vrr_runloop_enable)
|
||||||
end:
|
end:
|
||||||
{
|
{
|
||||||
|
retro_time_t to_sleep_ms;
|
||||||
|
|
||||||
if (settings->bools.vrr_runloop_enable)
|
if (settings->bools.vrr_runloop_enable)
|
||||||
{
|
{
|
||||||
struct retro_system_av_info *av_info =
|
struct retro_system_av_info *av_info =
|
||||||
|
@ -3474,7 +3476,7 @@ int runloop_iterate(unsigned *sleep_ms)
|
||||||
(runloop_fastmotion ? settings->floats.fastforward_ratio : 1.0f)));
|
(runloop_fastmotion ? settings->floats.fastforward_ratio : 1.0f)));
|
||||||
}
|
}
|
||||||
|
|
||||||
retro_time_t to_sleep_ms = (
|
to_sleep_ms = (
|
||||||
(frame_limit_last_time + frame_limit_minimum_time)
|
(frame_limit_last_time + frame_limit_minimum_time)
|
||||||
- cpu_features_get_time_usec()) / 1000;
|
- cpu_features_get_time_usec()) / 1000;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue