mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 21:30:19 -06:00
ControllerInterface: Make UpdateInput / UpdateOutput return void
The return values here have never been checked, so it doesn't make sense to return a value to begin with.
This commit is contained in:
@ -316,15 +316,13 @@ void Joystick::TriangleEffect::SetState(ControlState state)
|
||||
}
|
||||
#endif
|
||||
|
||||
bool Joystick::UpdateInput()
|
||||
void Joystick::UpdateInput()
|
||||
{
|
||||
// each joystick is doin this, o well
|
||||
SDL_JoystickUpdate();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
bool Joystick::UpdateOutput()
|
||||
void Joystick::UpdateOutput()
|
||||
{
|
||||
#ifdef USE_SDL_HAPTIC
|
||||
for (auto &i : m_state_out)
|
||||
@ -359,7 +357,6 @@ bool Joystick::UpdateOutput()
|
||||
}
|
||||
}
|
||||
#endif
|
||||
return true;
|
||||
}
|
||||
|
||||
std::string Joystick::GetName() const
|
||||
|
Reference in New Issue
Block a user