Core: Remove FPS, VPS and speed percentage from window title

This commit is contained in:
Simonx22
2023-01-21 00:44:25 +01:00
parent 8d477c65c9
commit df6f070a55
6 changed files with 14 additions and 76 deletions

View File

@ -12,6 +12,8 @@
#include <string_view>
#include <variant>
#include <Core/Core.h>
#include <fmt/format.h>
#include "AudioCommon/AudioCommon.h"
@ -177,6 +179,10 @@ void SConfig::SetRunningGameMetadata(const std::string& game_id, const std::stri
m_title_description = title_database.Describe(m_gametdb_id, language);
NOTICE_LOG_FMT(CORE, "Active title: {}", m_title_description);
Host_TitleChanged();
if (Core::IsRunning())
{
Core::UpdateTitle();
}
Config::AddLayer(ConfigLoaders::GenerateGlobalGameConfigLoader(game_id, revision));
Config::AddLayer(ConfigLoaders::GenerateLocalGameConfigLoader(game_id, revision));