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

@ -55,8 +55,6 @@ void GetStatus(u8 _port, KeyboardStatus* _pKeyboardStatus)
memset(_pKeyboardStatus, 0, sizeof(*_pKeyboardStatus));
_pKeyboardStatus->err = PAD_ERR_NONE;
std::unique_lock<std::recursive_mutex> lk(s_config.controls_lock, std::try_to_lock);
// get input
((GCKeyboard*)s_config.controllers[_port])->GetInput(_pKeyboardStatus);
}