mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-22 09:18:43 +00: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:
parent
736de8abf6
commit
7f5b6ed788
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue