Config: Prevent pad settings lingering in game properties blocking profiles

This commit is contained in:
RedPanda4552 2024-09-08 02:39:22 -04:00 committed by Ty
parent 2886f825aa
commit 0792ceb21a
1 changed files with 1 additions and 4 deletions

View File

@ -938,10 +938,7 @@ bool VMManager::UpdateGameSettingsLayer()
std::string input_profile_name; std::string input_profile_name;
if (new_interface) if (new_interface)
{
if (!new_interface->GetBoolValue("Pad", "UseGameSettingsForController", false))
new_interface->GetStringValue("EmuCore", "InputProfileName", &input_profile_name); new_interface->GetStringValue("EmuCore", "InputProfileName", &input_profile_name);
}
if (!s_game_settings_interface && !new_interface && s_input_profile_name == input_profile_name) if (!s_game_settings_interface && !new_interface && s_input_profile_name == input_profile_name)
return false; return false;