diff options
| author | bunnei <bunneidev@gmail.com> | 2021-05-18 19:56:29 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-18 19:56:29 -0700 |
| commit | 7d86a6ff02e0778aa69ec52ef5c0eb0d26200818 (patch) | |
| tree | ec9657e464e62c444ee2062cb0110b7e710d9788 /src/yuzu_cmd | |
| parent | 61f293e5c98f4dc93f366c85caa2628da8d63205 (diff) | |
| parent | 5bef54618a2850e42f7bab45120dab9166468a25 (diff) | |
Merge pull request #6317 from ameerj/fps-fix
perf_stats: Rework FPS counter to be more accurate
Diffstat (limited to 'src/yuzu_cmd')
| -rw-r--r-- | src/yuzu_cmd/emu_window/emu_window_sdl2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp b/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp index d64f81106..06b20c975 100644 --- a/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp +++ b/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp @@ -215,7 +215,7 @@ void EmuWindow_SDL2::WaitEvent() { const auto results = Core::System::GetInstance().GetAndResetPerfStats(); const auto title = fmt::format("yuzu {} | {}-{} | FPS: {:.0f} ({:.0f}%)", Common::g_build_fullname, - Common::g_scm_branch, Common::g_scm_desc, results.game_fps, + Common::g_scm_branch, Common::g_scm_desc, results.average_game_fps, results.emulation_speed * 100.0); SDL_SetWindowTitle(render_window, title.c_str()); last_time = current_time; |
