mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 13:20:27 -06:00
ControllerEmu: Add const to UpdateReferences() first reference parameter
None of these parameters are modified.
This commit is contained in:
@ -33,7 +33,7 @@ public:
|
||||
virtual void SaveConfig(IniFile::Section* sec, const std::string& base = "");
|
||||
void UpdateDefaultDevice();
|
||||
|
||||
void UpdateReferences(ControllerInterface& devi);
|
||||
void UpdateReferences(const ControllerInterface& devi);
|
||||
|
||||
// This returns a lock that should be held before calling State() on any control
|
||||
// references and GetState(), by extension. This prevents a race condition
|
||||
|
Reference in New Issue
Block a user