aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGarrett Brown <themagnificentmrb@gmail.com>2023-02-20 17:21:42 -0800
committerGarrett Brown <themagnificentmrb@gmail.com>2023-02-20 22:04:17 -0800
commita13a2252891f769b0199be5d12c0efb4b2d1e330 (patch)
treeab01555a822e0a26594041e6e6ec254412a9d3ba
parent0d978b5613a1a570395aed831f72a2c603afadab (diff)
Port Dialog: Fix loading from ports.xml due to copy/paste error
-rw-r--r--xbmc/games/ports/input/PortManager.cpp2
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) {