Ensure that FPS buffer is not left uninitialized.

This commit is contained in:
Themaister 2013-02-10 14:25:02 +01:00
parent d8a4bb6d12
commit ddc51c3eba

View File

@ -30,6 +30,7 @@ bool gfx_get_fps(char *buf, size_t size, bool always_write)
static rarch_time_t fps_time;
static float last_fps;
bool ret = false;
*buf = '\0';
rarch_time_t new_time = rarch_get_time_usec();
if (g_extern.frame_count)