mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
Gamepads (minor change) > Fix to last commit, LiveUpdate related
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4547 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
d47e4827f7
commit
2d064262ce
4 changed files with 10 additions and 16 deletions
|
@ -694,9 +694,11 @@ void WiimotePadConfigDialog::Update(wxTimerEvent& WXUNUSED(event))
|
|||
|
||||
// Don't run this the first time
|
||||
int OldNumDIDevices;
|
||||
if (WiiMoteEmu::NumDIDevices == -1) OldNumDIDevices = InputCommon::SearchDIDevices();
|
||||
if (WiiMoteEmu::NumDIDevices == -1)
|
||||
OldNumDIDevices = InputCommon::SearchDIDevices();
|
||||
else
|
||||
// Search for connected devices and update dialog
|
||||
OldNumDIDevices = WiiMoteEmu::NumDIDevices;
|
||||
OldNumDIDevices = WiiMoteEmu::NumDIDevices;
|
||||
WiiMoteEmu::NumDIDevices = InputCommon::SearchDIDevices();
|
||||
|
||||
// Update if a pad has been connected/disconnected. Todo: Add a better check that also takes into consideration the pad id
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue