mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 06:39:46 -06:00
InputCommon: Allow Wii remote extension to be set with an input expression.
This commit is contained in:
@ -61,7 +61,11 @@ void EmulatedController::UpdateReferences(ciface::ExpressionParser::ControlEnvir
|
||||
// Attachments:
|
||||
if (ctrlGroup->type == GroupType::Attachments)
|
||||
{
|
||||
for (auto& attachment : static_cast<Attachments*>(ctrlGroup.get())->GetAttachmentList())
|
||||
auto* const attachments = static_cast<Attachments*>(ctrlGroup.get());
|
||||
|
||||
attachments->GetSelectionSetting().GetInputReference().UpdateReference(env);
|
||||
|
||||
for (auto& attachment : attachments->GetAttachmentList())
|
||||
attachment->UpdateReferences(env);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user