This commit is contained in:
8bit-duck 2021-08-30 18:29:17 +01:00 committed by GitHub
commit ddaca3cec7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)