mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 12:48:57 +00:00
InputConfig: Clean up controller management
This commit is contained in:
parent
59b54a77d3
commit
b9975694ab
17 changed files with 146 additions and 171 deletions
|
@ -142,7 +142,7 @@ void TASInputDlg::CreateWiiLayout(int num)
|
|||
|
||||
if (Core::IsRunning())
|
||||
{
|
||||
m_ext = ((WiimoteEmu::Wiimote*)Wiimote::GetConfig()->controllers[num])->CurrentExtension();
|
||||
m_ext = static_cast<WiimoteEmu::Wiimote*>(Wiimote::GetConfig()->GetController(num))->CurrentExtension();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue