mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
ControllerEmu: Don't clear expression variables on references update. Hotplug would make that problematic.
This commit is contained in:
parent
4d41bd64c8
commit
b4e2b3cae3
@ -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…
Reference in New Issue
Block a user