mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 15:19:42 -06:00
Guitar: consistency of BoundCount check
only control[0] was checked, and not one, which seems random. Either both or none should be checked.
This commit is contained in:
@ -107,7 +107,8 @@ void Guitar::Update()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// slider bar
|
// slider bar
|
||||||
if (m_slider_bar->controls[0]->control_ref->BoundCount())
|
if (m_slider_bar->controls[0]->control_ref->BoundCount() &&
|
||||||
|
m_slider_bar->controls[1]->control_ref->BoundCount())
|
||||||
{
|
{
|
||||||
const ControllerEmu::Slider::StateData slider_data = m_slider_bar->GetState();
|
const ControllerEmu::Slider::StateData slider_data = m_slider_bar->GetState();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user