diff options
author | fuzzard <fuzzard@users.noreply.github.com> | 2023-02-22 11:47:25 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-22 11:47:25 +1000 |
commit | c0e58db2aef76c5ef5047779d150f1e01e3305d2 (patch) | |
tree | 138043e09ab6c417b98c821a2038c6b90b3837a8 | |
parent | 6febc91be6159a45e1b3b3a92117331a21e3047f (diff) | |
parent | a13a2252891f769b0199be5d12c0efb4b2d1e330 (diff) |
Merge pull request #22836 from garbear/fix-port-loading
Port Dialog: Fix resetting multitaps
-rw-r--r-- | xbmc/games/ports/input/PortManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/games/ports/input/PortManager.cpp b/xbmc/games/ports/input/PortManager.cpp index bcd7b1046c..8285d3a3f6 100644 --- a/xbmc/games/ports/input/PortManager.cpp +++ b/xbmc/games/ports/input/PortManager.cpp @@ -222,7 +222,7 @@ void CPortManager::DeserializeControllers(const TiXmlElement* pPort, ControllerN continue; } - std::string controllerId = XMLUtils::GetAttribute(pPort, XML_ATTR_CONTROLLER_ID); + std::string controllerId = XMLUtils::GetAttribute(pController, XML_ATTR_CONTROLLER_ID); auto it = std::find_if(controllers.begin(), controllers.end(), [&controllerId](const CControllerNode& controller) { |