User defined keys binding was only loaded when displayed controls dialog. Now load also on PPSSPP launch.

This commit is contained in:
Xele02 2013-02-03 02:21:34 +01:00
parent 174585a627
commit 966ded6de5

View file

@ -26,6 +26,14 @@ Controls::Controls(QWidget *parent) :
ui(new Ui::Controls)
{
ui->setupUi(this);
for(int i = 0; i < controllistCount; i++)
{
if(g_Config.iMappingMap.find(i) != g_Config.iMappingMap.end())
{
controllist[i].key = (Qt::Key)g_Config.iMappingMap[i];
}
}
}
Controls::~Controls()