Fixed NES Controller detection

This commit is contained in:
8bit-duck 2021-08-30 18:26:59 +01:00
parent 362c9d136d
commit a0212e3f15
1 changed files with 1 additions and 1 deletions

View File

@ -193,7 +193,7 @@ void detectControllerTypes()
// Check controller types and set buttonCount to max needed
for(gp=0; gp<GAMEPAD_COUNT; gp++)
{
if((buttons[gp][0] & 0xF3A) == 0xF3A) { // NES
if((buttons[gp][0] & 0x3A) == 0x3A) { // NES
if(controllerType[gp] != SNES)
controllerType[gp] = NES;
if(buttonCountNew < 8)