port: call joyReset() when changing controllers

This needs to be called for controller reassignments to take effect in
MP modes
This commit is contained in:
Catherine Reprobate committed 2025-04-13 10:39:04 -07:00
1 parent 0ac5fdd5c3
commit 30071e8f64
1 file changed
+2
+2
View File
@@ -597,8 +597,10 @@ static MenuItemHandlerResult menuhandlerController(s32 operation, struct menuite
if (data->dropdown.value == 0) {
// unassign controller
inputAssignController(g_ExtMenuPlayer, -1);
joyReset();
} else if (data->dropdown.value <= numCtrls) {
inputAssignController(g_ExtMenuPlayer, ctrls[data->dropdown.value - 1]);
joyReset();
}
break;
case MENUOP_GETSELECTEDINDEX: