Config: Prevent pad settings lingering in game properties blocking profiles
Some checks failed
🖥️ Windows Builds / Lint VS Project Files (push) Waiting to run
🖥️ Windows Builds / SSE4 (push) Blocked by required conditions
🖥️ Windows Builds / AVX2 (push) Blocked by required conditions
🐧 Linux Builds / AppImage (push) Has been skipped
🐧 Linux Builds / Flatpak (push) Has been skipped
🍎 MacOS Builds / Defaults (push) Has been skipped
🖥️ Windows Builds / CMake (push) Has been skipped
🌎 Update Base Translation / Update Base Translation (push) Failing after 33s
📦 Publish Flathub Release / Check if release is needed (push) Failing after 11s
📦 Publish Flathub Release / Build and publish Flatpak (push) Has been skipped

This commit is contained in:
RedPanda4552 2024-09-08 02:39:22 -04:00 committed by Ty
parent 2886f825aa
commit 0792ceb21a

View File

@ -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;