mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-26 07:39:45 -06:00
Fix GCPad rumble. Fix issue 4212.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7306 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -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);
|
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
|
// TODO: this has potential to not stop rumble if user is messing with GUI at the perfect time
|
||||||
// set rumble
|
// set rumble
|
||||||
|
Reference in New Issue
Block a user