Cleaned up the controls lock that is not needed with 780eef68f6

This commit is contained in:
skidau
2015-03-12 23:33:30 +11:00
parent 9063f0d16f
commit 2c6eaf9c76
5 changed files with 0 additions and 32 deletions

View File

@ -118,9 +118,6 @@ void Update(int _number)
{
//PanicAlert( "Wiimote_Update" );
// TODO: change this to a try_to_lock, and make it give empty input on failure
std::unique_lock<std::recursive_mutex> lk(s_config.controls_lock, std::try_to_lock);
if (WIIMOTE_SRC_EMU & g_wiimote_sources[_number])
((WiimoteEmu::Wiimote*)s_config.controllers[_number])->Update();
else