mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 06:44:27 +00:00
Initialize frame_count to 0
This commit is contained in:
parent
8cdfa75b48
commit
e862abfe12
@ -1065,7 +1065,7 @@ bool video_monitor_get_fps(
|
|||||||
static retro_time_t curr_time;
|
static retro_time_t curr_time;
|
||||||
static retro_time_t fps_time;
|
static retro_time_t fps_time;
|
||||||
retro_time_t new_time = cpu_features_get_time_usec();
|
retro_time_t new_time = cpu_features_get_time_usec();
|
||||||
uint64_t frame_count;
|
uint64_t frame_count = 0;
|
||||||
|
|
||||||
video_driver_threaded_lock();
|
video_driver_threaded_lock();
|
||||||
frame_count = video_driver_frame_count;
|
frame_count = video_driver_frame_count;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user