修复nes默认手柄键位未正确初始化的bug

This commit is contained in:
ALIENJACK 2024-12-24 21:52:23 +08:00
parent 68155d69ff
commit 4fbfd2cfc1

View File

@ -173,7 +173,7 @@ namespace AxibugEmuOnline.Client
{ {
switch (controllerIndex) switch (controllerIndex)
{ {
case 1: case 0:
switch (nesConBtnType) switch (nesConBtnType)
{ {
case EnumButtonType.LEFT: case EnumButtonType.LEFT:
@ -197,7 +197,7 @@ namespace AxibugEmuOnline.Client
} }
break; break;
case 2: case 1:
switch (nesConBtnType) switch (nesConBtnType)
{ {
case EnumButtonType.LEFT: case EnumButtonType.LEFT: