mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-09 15:49:25 +01:00
nJoy: minor fix, loading settings while game is running.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@62 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
1d175eadd7
commit
5955748d58
@ -520,10 +520,12 @@ void GetControllerAll(HWND hDlg, int controller)
|
||||
|
||||
void UpdateVisibleItems(HWND hDlg, int controllertype)
|
||||
{
|
||||
/*
|
||||
if(controllertype == CTL_TYPE_KEYBOARD)
|
||||
ComboBox_Enable(GetDlgItem(hDlg, IDC_JOYNAME), FALSE);
|
||||
else
|
||||
ComboBox_Enable(GetDlgItem(hDlg, IDC_JOYNAME), TRUE);
|
||||
*/
|
||||
|
||||
if(controllertype)
|
||||
{
|
||||
|
@ -90,10 +90,13 @@ void DllConfig(HWND _hParent)
|
||||
return;
|
||||
}
|
||||
|
||||
LoadConfig();
|
||||
LoadConfig(); // load settings
|
||||
if(OpenConfig(nJoy_hInst, _hParent))
|
||||
{
|
||||
SaveConfig();
|
||||
}
|
||||
LoadConfig(); // reload settings
|
||||
}
|
||||
|
||||
// Init PAD (start emulation)
|
||||
// ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
|
||||
|
Loading…
x
Reference in New Issue
Block a user