mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
ControllerEmu: Don't clear expression variables on references update. Hotplug would make that problematic.
This commit is contained in:
parent
4d41bd64c8
commit
b4e2b3cae3
1 changed files with 0 additions and 3 deletions
|
@ -40,9 +40,6 @@ void EmulatedController::UpdateReferences(const ControllerInterface& devi)
|
|||
{
|
||||
m_default_device_is_connected = devi.HasConnectedDevice(m_default_device);
|
||||
|
||||
// Reset variables:
|
||||
m_expression_vars.clear();
|
||||
|
||||
ciface::ExpressionParser::ControlEnvironment env(devi, GetDefaultDevice(), m_expression_vars);
|
||||
|
||||
UpdateReferences(env);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue