mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-10-13 22:30:24 +02:00
ControllerEmu: Don't clear expression variables on references update. Hotplug would make that problematic.
This commit is contained in:
1 parent
4d41bd64c8
commit
b4e2b3cae3
1 file changed
-3
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user