mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 08:30:16 +00:00
video_monitor_fps_statistics - small cleanup
This commit is contained in:
parent
67518b3c6c
commit
bdb54d91b7
@ -1032,15 +1032,13 @@ bool video_monitor_fps_statistics(double *refresh_rate,
|
||||
bool video_monitor_get_fps(char *buf, size_t size,
|
||||
char *buf_fps, size_t size_fps)
|
||||
{
|
||||
retro_time_t new_time;
|
||||
static retro_time_t curr_time;
|
||||
static retro_time_t fps_time;
|
||||
rarch_system_info_t *system = rarch_system_info_get_ptr();
|
||||
retro_time_t new_time = retro_get_time_usec();
|
||||
rarch_system_info_t *system = rarch_system_info_get_ptr();
|
||||
|
||||
*buf = '\0';
|
||||
|
||||
new_time = retro_get_time_usec();
|
||||
|
||||
if (video_driver_frame_count)
|
||||
{
|
||||
static float last_fps;
|
||||
|
Loading…
Reference in New Issue
Block a user