mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
ControllerEmu: Add const to UpdateReferences() first reference parameter
None of these parameters are modified.
This commit is contained in:
@ -26,7 +26,7 @@ bool ControlReference::InputGateOn()
|
||||
// Updates a controlreference's binded devices/controls
|
||||
// need to call this to re-parse a control reference's expression after changing it
|
||||
//
|
||||
void ControlReference::UpdateReference(ciface::Core::DeviceContainer& devices,
|
||||
void ControlReference::UpdateReference(const ciface::Core::DeviceContainer& devices,
|
||||
const ciface::Core::DeviceQualifier& default_device)
|
||||
{
|
||||
Expression* expr;
|
||||
|
@ -32,7 +32,7 @@ public:
|
||||
|
||||
int BoundCount() const;
|
||||
ciface::ExpressionParser::ExpressionParseStatus GetParseStatus() const;
|
||||
void UpdateReference(ciface::Core::DeviceContainer& devices,
|
||||
void UpdateReference(const ciface::Core::DeviceContainer& devices,
|
||||
const ciface::Core::DeviceQualifier& default_device);
|
||||
|
||||
ControlState range;
|
||||
|
Reference in New Issue
Block a user