mirror of
https://github.com/libretro/RetroArch
synced 2025-02-12 00:40:26 +00:00
Silence some warnings
This commit is contained in:
parent
a9a7f360d0
commit
b6c0e57946
@ -2070,7 +2070,7 @@ static bool video_monitor_get_fps(video_frame_info_t *video_info)
|
|||||||
ret = true;
|
ret = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (video_info->fps_text && video_info->fps_show)
|
if (video_info->fps_show)
|
||||||
snprintf(
|
snprintf(
|
||||||
video_info->fps_text,
|
video_info->fps_text,
|
||||||
sizeof(video_info->fps_text),
|
sizeof(video_info->fps_text),
|
||||||
@ -2086,10 +2086,10 @@ static bool video_monitor_get_fps(video_frame_info_t *video_info)
|
|||||||
strlcpy(video_info->window_text,
|
strlcpy(video_info->window_text,
|
||||||
video_driver_title_buf,
|
video_driver_title_buf,
|
||||||
sizeof(video_info->window_text));
|
sizeof(video_info->window_text));
|
||||||
if (video_info->fps_text)
|
|
||||||
strlcpy(video_info->fps_text,
|
strlcpy(video_info->fps_text,
|
||||||
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_NOT_AVAILABLE),
|
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_NOT_AVAILABLE),
|
||||||
sizeof(video_info->fps_text));
|
sizeof(video_info->fps_text));
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user