diff options
| author | Jordan Woyak <jordan.woyak@gmail.com> | 2011-03-05 22:47:01 +0000 |
|---|---|---|
| committer | Jordan Woyak <jordan.woyak@gmail.com> | 2011-03-05 22:47:01 +0000 |
| commit | 9601bf72dfe159517ee2a8529bdd320e5c53c906 (patch) | |
| tree | e435a88eb5d45c66e2c9309e30b460398cc3a5f4 /Source/Core | |
| parent | 7bc2ae01f26a5396e3a7207170d6860c921b71a7 (diff) | |
Fix GCPad rumble. Fix issue 4212.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7306 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/Src/HW/GCPad.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<std::mutex> 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 |
