mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-28 18:09:37 -06:00
ControlReference/ExpressionParser: separate parsing from binding
This commit is contained in:
@ -31,7 +31,9 @@ void ControlReference::UpdateReference(const ciface::Core::DeviceContainer& devi
|
||||
const ciface::Core::DeviceQualifier& default_device)
|
||||
{
|
||||
ControlFinder finder(devices, default_device, IsInput());
|
||||
std::tie(m_parse_status, m_parsed_expression) = ParseExpression(expression, finder);
|
||||
std::tie(m_parse_status, m_parsed_expression) = ParseExpression(expression);
|
||||
if (m_parsed_expression)
|
||||
m_parsed_expression->UpdateReferences(finder);
|
||||
}
|
||||
|
||||
int ControlReference::BoundCount() const
|
||||
|
Reference in New Issue
Block a user