Attempt to fix real wiimote delay issues experienced by some. (Issue 3428)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6324 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
765d1823fb
commit
2f2a76b28a
|
@ -159,19 +159,19 @@ void Wiimote::InterruptChannel(const u16 channel, const void* const data, const
|
||||||
// some hax, since we just send the last data report to Dolphin on each Update() call
|
// some hax, since we just send the last data report to Dolphin on each Update() call
|
||||||
// , make the wiimote only send updated data reports when data changes
|
// , make the wiimote only send updated data reports when data changes
|
||||||
// == less bt traffic, eliminates some unneeded packets
|
// == less bt traffic, eliminates some unneeded packets
|
||||||
if (WM_REPORT_MODE == ((u8*)data)[1])
|
//if (WM_REPORT_MODE == ((u8*)data)[1])
|
||||||
{
|
//{
|
||||||
// also delete the last data report
|
// // also delete the last data report
|
||||||
if (m_last_data_report)
|
// if (m_last_data_report)
|
||||||
{
|
// {
|
||||||
delete[] m_last_data_report;
|
// delete[] m_last_data_report;
|
||||||
m_last_data_report = NULL;
|
// m_last_data_report = NULL;
|
||||||
}
|
// }
|
||||||
|
|
||||||
// nice var names :p, this seems to be this one
|
// // nice var names :p, this seems to be this one
|
||||||
((wm_report_mode*)(rpt.first + 2))->all_the_time = false;
|
// ((wm_report_mode*)(rpt.first + 2))->all_the_time = false;
|
||||||
//((wm_report_mode*)(data + 2))->continuous = false;
|
// //((wm_report_mode*)(data + 2))->continuous = false;
|
||||||
}
|
//}
|
||||||
|
|
||||||
m_write_reports.Push(rpt);
|
m_write_reports.Push(rpt);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue