mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 00:20:01 +00:00
Add max size to statistics
This commit is contained in:
parent
9b8713aebd
commit
647f1a48a6
@ -2537,9 +2537,9 @@ void video_driver_frame(const void *data, unsigned width,
|
||||
|
||||
snprintf(video_info.stat_text,
|
||||
sizeof(video_info.stat_text),
|
||||
"Frontend Statistics:\n -Frame rate: %6.2f\n -Frame time: %6.2f\n -Frame time deviation: %6.2f\n"
|
||||
"Video Statistics:\n -Frame rate: %6.2f\n -Frame time: %6.2f\n -Frame time deviation: %6.2f\n"
|
||||
" -Frame count: %" PRIu64"\n -Viewport: %d x %d x %3.2f\n"
|
||||
"Core Geometry:\n -Size: %u x %u\n -Aspect: %3.2f\nCore Timing:\n -FPS: %3.2f\n -Sample Rate: %6.2f\n",
|
||||
"Core Geometry:\n -Size: %u x %u\n -Max Size: %u x %u\n -Aspect: %3.2f\nCore Timing:\n -FPS: %3.2f\n -Sample Rate: %6.2f\n",
|
||||
video_info.frame_rate,
|
||||
video_info.frame_time,
|
||||
100.0 * stddev,
|
||||
@ -2549,6 +2549,8 @@ void video_driver_frame(const void *data, unsigned width,
|
||||
video_info.refresh_rate,
|
||||
av_info->geometry.base_width,
|
||||
av_info->geometry.base_height,
|
||||
av_info->geometry.max_width,
|
||||
av_info->geometry.max_height,
|
||||
av_info->geometry.aspect_ratio,
|
||||
av_info->timing.fps,
|
||||
av_info->timing.sample_rate);
|
||||
|
@ -451,7 +451,7 @@ typedef struct video_frame_info
|
||||
float xmb_alpha_factor;
|
||||
|
||||
char fps_text[128];
|
||||
char stat_text[256];
|
||||
char stat_text[512];
|
||||
char chat_text[256];
|
||||
|
||||
uint64_t frame_count;
|
||||
|
Loading…
Reference in New Issue
Block a user