mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 07:09:48 -06:00
Build (minor) > Fixed linux compilation errors
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4544 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -50,11 +50,11 @@ namespace WiiMoteEmu
|
||||
bool LocalSearchDevices(std::vector<InputCommon::CONTROLLER_INFO> &_joyinfo, int &_NumPads)
|
||||
{
|
||||
//DEBUG_LOG(PAD, "LocalSearchDevices");
|
||||
bool Success = InputCommon::SearchDevices(_joyinfo, _NumPads);
|
||||
bool bSuccess = InputCommon::SearchDevices(_joyinfo, _NumPads);
|
||||
|
||||
DoLocalSearchDevices(_joyinfo, _NumPads);
|
||||
|
||||
return Success;
|
||||
return bSuccess;
|
||||
}
|
||||
|
||||
bool LocalSearchDevicesReset(std::vector<InputCommon::CONTROLLER_INFO> &_joyinfo, int &_NumPads)
|
||||
@ -64,13 +64,13 @@ bool LocalSearchDevicesReset(std::vector<InputCommon::CONTROLLER_INFO> &_joyinfo
|
||||
// Turn off device polling while resetting
|
||||
EnablePolling(false);
|
||||
|
||||
bool Success = InputCommon::SearchDevicesReset(_joyinfo, _NumPads);
|
||||
bool bSuccess = InputCommon::SearchDevicesReset(_joyinfo, _NumPads);
|
||||
|
||||
EnablePolling(true);
|
||||
|
||||
DoLocalSearchDevices(_joyinfo, _NumPads);
|
||||
|
||||
return Success;
|
||||
return bSuccess;
|
||||
}
|
||||
|
||||
// Fill joyinfo with the current connected devices
|
||||
|
Reference in New Issue
Block a user