mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-28 13:56:59 +01:00
window: round FPS in the title
This commit is contained in:
@@ -1016,7 +1016,7 @@ void WindowContext::UpdateTitle() {
|
|||||||
|
|
||||||
const auto* device_name = graphic_ctx.GetPhysicalDeviceProperties().deviceName.data();
|
const auto* device_name = graphic_ctx.GetPhysicalDeviceProperties().deviceName.data();
|
||||||
auto text = fmt::format(
|
auto text = fmt::format(
|
||||||
"[{} | {}] {}{}{}{}{}{}[{}] [{}], frame: {}, fps: {:f}", KYTY_BUILD_LABEL, build_type,
|
"[{} | {}] {}{}{}{}{}{}[{}] [{}], frame: {}, fps: {:.0f}", KYTY_BUILD_LABEL, build_type,
|
||||||
(has_title ? title : ""), (has_title ? ", " : ""), (has_title_id ? title_id : ""),
|
(has_title ? title : ""), (has_title ? ", " : ""), (has_title_id ? title_id : ""),
|
||||||
(has_title_id ? ", " : ""), (has_app_ver ? app_ver : ""), (has_app_ver ? " " : ""),
|
(has_title_id ? ", " : ""), (has_app_ver ? app_ver : ""), (has_app_ver ? " " : ""),
|
||||||
device_name, processor_name, frame_num, current_fps);
|
device_name, processor_name, frame_num, current_fps);
|
||||||
|
|||||||
Reference in New Issue
Block a user