From 9601bf72dfe159517ee2a8529bdd320e5c53c906 Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Sat, 5 Mar 2011 22:47:01 +0000 Subject: [PATCH] Fix GCPad rumble. Fix issue 4212. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7306 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Core/Src/HW/GCPad.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/Src/HW/GCPad.cpp b/Source/Core/Core/Src/HW/GCPad.cpp index 82bf4bc9b4..952a2ad188 100644 --- a/Source/Core/Core/Src/HW/GCPad.cpp +++ b/Source/Core/Core/Src/HW/GCPad.cpp @@ -99,7 +99,7 @@ void Rumble(u8 _numPAD, unsigned int _uType, unsigned int _uStrength) { std::unique_lock lk(g_plugin.controls_lock, std::try_to_lock); - if (!lk.owns_lock()) + if (lk.owns_lock()) { // TODO: this has potential to not stop rumble if user is messing with GUI at the perfect time // set rumble