ImportMCM() bugfix

This commit is contained in:
taotao54321 2012-03-11 13:21:16 +00:00
parent 79944b2d26
commit f117e4fce8
1 changed files with 1 additions and 4 deletions

View File

@ -890,10 +890,7 @@ namespace BizHawk.MultiClient
{
byte pad = input[1+2*(player-1)];
for(int i = 0; i < 8; ++i)
{
if ((pad & (1 << i)) != 0)
controllers["P" + player + " " + CTRL_BUTTONS[i]] = true;
}
controllers["P" + player + " " + CTRL_BUTTONS[i]] = (pad&(1<<i)) != 0;
}
MnemonicsGenerator mg = new MnemonicsGenerator();
mg.SetSource(controllers);