Vulkan Swapchain: Overall improvements.

This commit is contained in:
Fernando Sahmkow 2022-04-18 23:21:02 +02:00
parent 8d774e7415
commit cdce7f781b
3 changed files with 17 additions and 6 deletions

View file

@ -3,6 +3,7 @@
#include <cinttypes>
#include <clocale>
#include <cmath>
#include <memory>
#include <thread>
#ifdef __APPLE__
@ -3451,9 +3452,10 @@ void GMainWindow::UpdateStatusBar() {
}
if (!Settings::values.use_speed_limit) {
game_fps_label->setText(
tr("Game: %1 FPS (Unlocked)").arg(results.average_game_fps, 0, 'f', 0));
tr("Game: %1 FPS (Unlocked)").arg(std::round(results.average_game_fps), 0, 'f', 0));
} else {
game_fps_label->setText(tr("Game: %1 FPS").arg(results.average_game_fps, 0, 'f', 0));
game_fps_label->setText(
tr("Game: %1 FPS").arg(std::round(results.average_game_fps), 0, 'f', 0));
}
emu_frametime_label->setText(tr("Frame: %1 ms").arg(results.frametime * 1000.0, 0, 'f', 2));