mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
InputConfig: Clean up controller management
This commit is contained in:
@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user