aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfuzzard <fuzzard@users.noreply.github.com>2023-02-22 11:47:25 +1000
committerGitHub <noreply@github.com>2023-02-22 11:47:25 +1000
commitc0e58db2aef76c5ef5047779d150f1e01e3305d2 (patch)
tree138043e09ab6c417b98c821a2038c6b90b3837a8
parent6febc91be6159a45e1b3b3a92117331a21e3047f (diff)
parenta13a2252891f769b0199be5d12c0efb4b2d1e330 (diff)
Merge pull request #22836 from garbear/fix-port-loading
Port Dialog: Fix resetting multitaps
-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) {