Skip to content
Permalink
Browse files

ControllerEmu: Don't clear expression variables on references update.…

… Hotplug would make that problematic.
  • Loading branch information...
jordan-woyak committed Oct 12, 2019
1 parent 4d41bd6 commit b4e2b3cae330be2a9f050a90c3bbb9d38f047777
Showing with 0 additions and 3 deletions.
  1. +0 −3 Source/Core/InputCommon/ControllerEmu/ControllerEmu.cpp
@@ -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);

0 comments on commit b4e2b3c

Please sign in to comment.
You can’t perform that action at this time.