mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-03-02 19:16:56 +00:00
Fix the AxisSwap feature - had a double mutex lock, oops.
This commit is contained in:
parent
bfe5ef00a6
commit
c7c7e0a36d
@ -577,7 +577,7 @@ bool ControlMapper::Key(const KeyInput &key, bool *pauseTrigger) {
|
||||
}
|
||||
|
||||
void ControlMapper::ToggleSwapAxes() {
|
||||
std::lock_guard<std::mutex> guard(mutex_);
|
||||
// Note: The lock is already locked here.
|
||||
|
||||
swapAxes_ = !swapAxes_;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user