User defined keys binding was only loaded when displayed controls dialog. Now load also on PPSSPP launch.
This commit is contained in:
parent
174585a627
commit
966ded6de5
1 changed files with 8 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue