Controller Config - when generating tabs and input widgets, iterate through the current controllers buttons rather than the buttons found in the config. This "trims" settings that aren't currently in use. I'm not confident that I didn't break something with this

This commit is contained in:
adelikat 2014-06-25 15:27:10 +00:00
parent 12b4c9fd63
commit 91d94e46db
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ namespace BizHawk.Client.EmuHawk
buckets[i] = new List<string>();
}
foreach (var button in settings.Keys)
foreach (var button in controllerButtons)
{
int i;
for (i = 1; i <= MAXPLAYERS; i++)