fixed padsimple event some glwindow cleanup

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1940 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee
2009-01-19 21:39:53 +00:00
parent c53797dc5b
commit 0b267948cc
2 changed files with 13 additions and 17 deletions

View File

@ -408,7 +408,8 @@ void LoadConfig()
file.Get(SectionName, controlNames[x],
&key, (i==0)?defaultKeyForControl[x]:0);
registerKey(i, x, (sf::Key::Code)key);
if (i == g_PADInitialize.padNumber && pad[i].bAttached)
registerKey(i, x, (sf::Key::Code)key);
}
}
}