mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 15:19:42 -06:00
Last commit: Forgot one change
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2216 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -257,10 +257,12 @@ void Initialize(void *init)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Populate joyinfo for all attached devices if the configuration window is not already open
|
// Populate joyinfo for all attached devices if the configuration window is not already open
|
||||||
if(!m_frame) Search_Devices(joyinfo, NumPads, NumGoodPads);
|
if(!m_frame)
|
||||||
|
{
|
||||||
// Check if a DirectInput error occured
|
Search_Devices(joyinfo, NumPads, NumGoodPads);
|
||||||
if(ReloadDLL()) g_PADInitialize->padNumber = -1;
|
// Check if a DirectInput error occured
|
||||||
|
if(ReloadDLL()) g_PADInitialize->padNumber = -1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Search_Devices(std::vector<InputCommon::CONTROLLER_INFO> &_joyinfo, int &_NumPads, int &_NumGoodPads)
|
bool Search_Devices(std::vector<InputCommon::CONTROLLER_INFO> &_joyinfo, int &_NumPads, int &_NumGoodPads)
|
||||||
|
Reference in New Issue
Block a user