Skip to content

Commit

Permalink
Config: Prevent pad settings lingering in game properties blocking pr…
Browse files Browse the repository at this point in the history
…ofiles
  • Loading branch information
RedPanda4552 authored and F0bes committed Sep 9, 2024
1 parent 2886f82 commit 0792ceb
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pcsx2/VMManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -938,10 +938,7 @@ bool VMManager::UpdateGameSettingsLayer()

std::string input_profile_name;
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)
return false;
Expand Down

0 comments on commit 0792ceb

Please sign in to comment.