mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-22 18:53:28 +01:00
Qt: clean global cfg before adding custom cfgs
This commit is contained in:
parent
9f80a55652
commit
6565855005
@ -139,6 +139,10 @@ void emu_settings::LoadSettings(const std::string& title_id)
|
|||||||
// Add game config
|
// Add game config
|
||||||
if (!title_id.empty())
|
if (!title_id.empty())
|
||||||
{
|
{
|
||||||
|
// Remove obsolete settings of the global config before adding the custom settings.
|
||||||
|
// Otherwise we'll always trigger the "obsolete settings dialog" when editing custom configs.
|
||||||
|
ValidateSettings(true);
|
||||||
|
|
||||||
const std::string config_path_new = Emulator::GetCustomConfigPath(m_title_id);
|
const std::string config_path_new = Emulator::GetCustomConfigPath(m_title_id);
|
||||||
const std::string config_path_old = Emulator::GetCustomConfigPath(m_title_id, true);
|
const std::string config_path_old = Emulator::GetCustomConfigPath(m_title_id, true);
|
||||||
std::string custom_config_path;
|
std::string custom_config_path;
|
||||||
|
Loading…
Reference in New Issue
Block a user