forked from Ports/perfect_dark
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:
1 parent
0ac5fdd5c3
commit
30071e8f64
1 file changed
+2
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user