Merge pull request #3010 from Felk/master

fixed disabling auto reporting for emulated wiimotes not working properly
This commit is contained in:
Scott Mansell 2015-09-12 21:40:25 +12:00
commit 66dd79c569

View File

@ -754,7 +754,7 @@ void Wiimote::Update()
Movie::CheckWiimoteStatus(m_index, data, rptf, m_extension->active_extension, m_ext_key); Movie::CheckWiimoteStatus(m_index, data, rptf, m_extension->active_extension, m_ext_key);
// don't send a data report if auto reporting is off // don't send a data report if auto reporting is off
if (false == m_reporting_auto && data[2] >= WM_REPORT_CORE) if (false == m_reporting_auto && data[1] >= WM_REPORT_CORE)
return; return;
// send data report // send data report