mirror of
https://github.com/MickGyver/DaemonBite-Retro-Controllers-USB
synced 2025-02-15 14:50:25 -05:00
Fixed NES Controller detection
This commit is contained in:
parent
362c9d136d
commit
a0212e3f15
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user