diff options
| author | JMC47 <JMC4789@gmail.com> | 2025-09-26 17:27:58 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-26 17:27:58 -0400 |
| commit | 3b4fd0bc4f0b7c3abd970fce711b49717f37780e (patch) | |
| tree | b8b1d8fcd358a3ac30552ce8943c4da27696af07 /Source/Core/InputCommon | |
| parent | a7d61dd2a51932eb63e6d0c39111eabdb01699da (diff) | |
| parent | 0401f4a8c3082fd905fca84422ff29e5176d1e63 (diff) | |
Merge pull request #13961 from Sam-Belliveau/sdl-gamepad-profile
Add SDL Gamepad Profile
Diffstat (limited to 'Source/Core/InputCommon')
| -rw-r--r-- | Source/Core/InputCommon/ControllerEmu/ControllerEmu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/InputCommon/ControllerEmu/ControllerEmu.cpp b/Source/Core/InputCommon/ControllerEmu/ControllerEmu.cpp index 2d299981db..ce0105b90f 100644 --- a/Source/Core/InputCommon/ControllerEmu/ControllerEmu.cpp +++ b/Source/Core/InputCommon/ControllerEmu/ControllerEmu.cpp @@ -115,7 +115,7 @@ void EmulatedController::LoadConfig(Common::IniFile::Section* sec) const auto lock = EmulatedController::GetStateLock(); std::string defdev; - if (sec->Get("Device", &defdev, "")) + if (sec->Get("Device", &defdev, "") && !defdev.empty()) SetDefaultDevice(defdev); LoadGroupsConfig(sec, ""); |
