Input: Fix input handling if a 4-player adaptor is used.
This commit is contained in:
@@ -866,10 +866,13 @@ void set_input_famicom_controller(int x)
|
|||||||
FCEU_printf("Famicom Expansion: Oeka Kids Tablet\n");
|
FCEU_printf("Famicom Expansion: Oeka Kids Tablet\n");
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
input_type[4] = 0;
|
/* Do not disable port if a 4-player adaptor is used */
|
||||||
FCEUI_SetInputFC(SIFC_NONE, NULL, 0);
|
if (input_type[2] != RETRO_DEVICE_GAMEPAD || input_type[3] != RETRO_DEVICE_GAMEPAD)
|
||||||
FCEU_printf("Famicom Expansion: None\n");
|
{
|
||||||
break;
|
input_type[4] = 0;
|
||||||
|
FCEUI_SetInputFC(SIFC_NONE, NULL, 0);
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user