Fix so that Number pad keys can be mapped to hotkeys & controllers without crashing

This commit is contained in:
andres.delikat 2011-04-23 20:59:07 +00:00
parent fb4abe9331
commit cb6e6d2d13
1 changed files with 4 additions and 2 deletions

View File

@ -93,6 +93,8 @@ namespace BizHawk.MultiClient
if ((modifiers & Keys.Alt) != 0)
str += "LeftAlt + ";
str += key.ToString();
if (str.Substring(0, 6) == "NumPad")
str = str.Insert(3, "ber");
if (str.Length > 3)
{
if (str.Substring(0, 3) == "Oem")