diff --git a/Core/ControlMapper.cpp b/Core/ControlMapper.cpp index 94765edd64..8be39420d4 100644 --- a/Core/ControlMapper.cpp +++ b/Core/ControlMapper.cpp @@ -577,7 +577,7 @@ bool ControlMapper::Key(const KeyInput &key, bool *pauseTrigger) { } void ControlMapper::ToggleSwapAxes() { - std::lock_guard guard(mutex_); + // Note: The lock is already locked here. swapAxes_ = !swapAxes_;