mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
Make 'Show FPS" work again
This commit is contained in:
parent
51976d496f
commit
b433ccab09
@ -1050,9 +1050,8 @@ bool video_monitor_get_fps(
|
||||
video_driver_frame_time_samples[write_index] = new_time - fps_time;
|
||||
fps_time = new_time;
|
||||
|
||||
if (video_info.fullscreen)
|
||||
return false;
|
||||
|
||||
if (!video_info.fullscreen)
|
||||
{
|
||||
if ((video_driver_frame_count % FPS_UPDATE_INTERVAL) == 0)
|
||||
{
|
||||
char frames_text[64];
|
||||
@ -1080,6 +1079,7 @@ bool video_monitor_get_fps(
|
||||
strlcat(buf, frames_text, size);
|
||||
ret = true;
|
||||
}
|
||||
}
|
||||
|
||||
if (buf_fps && video_info.fps_show)
|
||||
snprintf(buf_fps, size_fps, "FPS: %6.1f || %s: " STRING_REP_UINT64,
|
||||
|
Loading…
x
Reference in New Issue
Block a user