fix typo
This commit is contained in:
parent
af39f65b03
commit
edab819d6b
|
@ -12,7 +12,7 @@ namespace BizHawk.Client.Common
|
||||||
var key = button.Replace("Key ", "");
|
var key = button.Replace("Key ", "");
|
||||||
if (key.StartsWith("P"))
|
if (key.StartsWith("P"))
|
||||||
{
|
{
|
||||||
if (key.Length > 2 && key[1] == '1' && key[2] >= '0' && key[1] <= '9') // Hack to support 10-20 controllers, TODO: regex this thing instead
|
if (key.Length > 2 && key[1] == '1' && key[2] >= '0' && key[2] <= '9') // Hack to support 10-20 controllers, TODO: regex this thing instead
|
||||||
{
|
{
|
||||||
key = key.Substring(4);
|
key = key.Substring(4);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue