mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
remove the empty || that is shown when FPS display is disabled
This commit is contained in:
parent
71b423c572
commit
5b99a74cd8
@ -2414,17 +2414,17 @@ void video_driver_frame(const void *data, unsigned width,
|
||||
{
|
||||
char frames_text[64];
|
||||
|
||||
fill_pathname_noext(video_driver_window_title,
|
||||
if (video_info.fps_show)
|
||||
{
|
||||
fill_pathname_noext(video_driver_window_title,
|
||||
video_driver_title_buf,
|
||||
" || ",
|
||||
sizeof(video_driver_window_title));
|
||||
|
||||
if (video_info.fps_show)
|
||||
{
|
||||
last_fps = TIME_TO_FPS(curr_time, new_time, FPS_UPDATE_INTERVAL);
|
||||
snprintf(video_info.fps_text,
|
||||
sizeof(video_info.fps_text),
|
||||
" FPS: %6.1f", last_fps);
|
||||
" FPS: %6.1f ", last_fps);
|
||||
strlcat(video_driver_window_title,
|
||||
video_info.fps_text,
|
||||
sizeof(video_driver_window_title));
|
||||
@ -2435,7 +2435,7 @@ void video_driver_frame(const void *data, unsigned width,
|
||||
if (video_info.framecount_show)
|
||||
{
|
||||
strlcat(video_driver_window_title,
|
||||
" || Frames: ",
|
||||
" || Frames: ",
|
||||
sizeof(video_driver_window_title));
|
||||
|
||||
snprintf(frames_text,
|
||||
|
Loading…
x
Reference in New Issue
Block a user