mirror of https://github.com/snes9xgit/snes9x.git
win32: Disable controller port 2 if controller 2 is disabled.
This commit is contained in:
parent
f8033eb856
commit
5edd667f11
|
@ -644,7 +644,10 @@ void ChangeInputDevice(void)
|
|||
default:
|
||||
case SNES_JOYPAD:
|
||||
S9xSetController(0, CTL_JOYPAD, 0, 0, 0, 0);
|
||||
if (Joypad[1].Enabled)
|
||||
S9xSetController(1, CTL_JOYPAD, 1, 0, 0, 0);
|
||||
else
|
||||
S9xSetController(1, CTL_NONE, 0, 0, 0, 0);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue