diff options
Diffstat (limited to 'src/yuzu_cmd')
| -rw-r--r-- | src/yuzu_cmd/config.cpp | 6 | ||||
| -rw-r--r-- | src/yuzu_cmd/emu_window/emu_window_sdl2.cpp | 2 | ||||
| -rw-r--r-- | src/yuzu_cmd/yuzu.cpp | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/yuzu_cmd/config.cpp b/src/yuzu_cmd/config.cpp index 7e1d5f379..38d896d65 100644 --- a/src/yuzu_cmd/config.cpp +++ b/src/yuzu_cmd/config.cpp | |||
| @@ -361,10 +361,10 @@ void Config::ReadValues() { | |||
| 361 | 361 | ||
| 362 | const auto custom_rtc_enabled = sdl2_config->GetBoolean("System", "custom_rtc_enabled", false); | 362 | const auto custom_rtc_enabled = sdl2_config->GetBoolean("System", "custom_rtc_enabled", false); |
| 363 | if (custom_rtc_enabled) { | 363 | if (custom_rtc_enabled) { |
| 364 | Settings::values.custom_rtc.SetValue( | 364 | Settings::values.custom_rtc = |
| 365 | std::chrono::seconds(sdl2_config->GetInteger("System", "custom_rtc", 0))); | 365 | std::chrono::seconds(sdl2_config->GetInteger("System", "custom_rtc", 0)); |
| 366 | } else { | 366 | } else { |
| 367 | Settings::values.custom_rtc.SetValue(std::nullopt); | 367 | Settings::values.custom_rtc = std::nullopt; |
| 368 | } | 368 | } |
| 369 | 369 | ||
| 370 | Settings::values.language_index.SetValue( | 370 | Settings::values.language_index.SetValue( |
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() { | |||
| 215 | const auto results = Core::System::GetInstance().GetAndResetPerfStats(); | 215 | const auto results = Core::System::GetInstance().GetAndResetPerfStats(); |
| 216 | const auto title = | 216 | const auto title = |
| 217 | fmt::format("yuzu {} | {}-{} | FPS: {:.0f} ({:.0f}%)", Common::g_build_fullname, | 217 | fmt::format("yuzu {} | {}-{} | FPS: {:.0f} ({:.0f}%)", Common::g_build_fullname, |
| 218 | Common::g_scm_branch, Common::g_scm_desc, results.game_fps, | 218 | Common::g_scm_branch, Common::g_scm_desc, results.average_game_fps, |
| 219 | results.emulation_speed * 100.0); | 219 | results.emulation_speed * 100.0); |
| 220 | SDL_SetWindowTitle(render_window, title.c_str()); | 220 | SDL_SetWindowTitle(render_window, title.c_str()); |
| 221 | last_time = current_time; | 221 | last_time = current_time; |
diff --git a/src/yuzu_cmd/yuzu.cpp b/src/yuzu_cmd/yuzu.cpp index 4871ac3bb..e2812ca61 100644 --- a/src/yuzu_cmd/yuzu.cpp +++ b/src/yuzu_cmd/yuzu.cpp | |||
| @@ -27,7 +27,7 @@ | |||
| 27 | #include "core/crypto/key_manager.h" | 27 | #include "core/crypto/key_manager.h" |
| 28 | #include "core/file_sys/registered_cache.h" | 28 | #include "core/file_sys/registered_cache.h" |
| 29 | #include "core/file_sys/vfs_real.h" | 29 | #include "core/file_sys/vfs_real.h" |
| 30 | #include "core/hle/kernel/process.h" | 30 | #include "core/hle/kernel/k_process.h" |
| 31 | #include "core/hle/service/filesystem/filesystem.h" | 31 | #include "core/hle/service/filesystem/filesystem.h" |
| 32 | #include "core/loader/loader.h" | 32 | #include "core/loader/loader.h" |
| 33 | #include "core/telemetry_session.h" | 33 | #include "core/telemetry_session.h" |