From 7ecf8bc49a7fb9f481d5b053e2be88736635533b Mon Sep 17 00:00:00 2001 From: "Kaja, Kyle" Date: Fri, 9 Jul 2021 13:01:36 -0500 Subject: [PATCH] Fix controller settings not saving the Controller Pak plugin This fixes issue #2019 --- Source/Project64-input/InputConfigUI.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Project64-input/InputConfigUI.cpp b/Source/Project64-input/InputConfigUI.cpp index 00206b51c..82ab66c4c 100644 --- a/Source/Project64-input/InputConfigUI.cpp +++ b/Source/Project64-input/InputConfigUI.cpp @@ -171,6 +171,7 @@ LRESULT CControllerSettings::OnApply() Controller.DeadZone = (uint8_t)m_DeadZone.GetPos(); CONTROL & ControlInfo = g_InputPlugin->ControlInfo(m_ControllerNumber); ControlInfo.Present = (m_PluggedIn.GetCheck() == BST_CHECKED) ? 1 : 0; + ControlInfo.Plugin = m_ControlInfo.Plugin; return g_InputPlugin->SaveController(m_ControllerNumber) ? PSNRET_NOERROR : PSNRET_INVALID_NOCHANGEPAGE; }