diff options
| author | Jordan Woyak <jordan.woyak@gmail.com> | 2010-10-31 19:22:31 +0000 |
|---|---|---|
| committer | Jordan Woyak <jordan.woyak@gmail.com> | 2010-10-31 19:22:31 +0000 |
| commit | 2f2a76b28a0f612c2b2550d25cdae775de0614f5 (patch) | |
| tree | 125c6fa8b29959eedc437b848432d13b44bf7b90 /Source/Core | |
| parent | 765d1823fb61220b58462724eb744f4ff85410c6 (diff) | |
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
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/Src/HW/WiimoteReal/WiimoteReal.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/Source/Core/Core/Src/HW/WiimoteReal/WiimoteReal.cpp b/Source/Core/Core/Src/HW/WiimoteReal/WiimoteReal.cpp index abf1d1f0b9..3bd89122f5 100644 --- a/Source/Core/Core/Src/HW/WiimoteReal/WiimoteReal.cpp +++ b/Source/Core/Core/Src/HW/WiimoteReal/WiimoteReal.cpp @@ -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 // , make the wiimote only send updated data reports when data changes // == less bt traffic, eliminates some unneeded packets - if (WM_REPORT_MODE == ((u8*)data)[1]) - { - // also delete the last data report - if (m_last_data_report) - { - delete[] m_last_data_report; - m_last_data_report = NULL; - } - - // nice var names :p, this seems to be this one - ((wm_report_mode*)(rpt.first + 2))->all_the_time = false; - //((wm_report_mode*)(data + 2))->continuous = false; - } + //if (WM_REPORT_MODE == ((u8*)data)[1]) + //{ + // // also delete the last data report + // if (m_last_data_report) + // { + // delete[] m_last_data_report; + // m_last_data_report = NULL; + // } + + // // nice var names :p, this seems to be this one + // ((wm_report_mode*)(rpt.first + 2))->all_the_time = false; + // //((wm_report_mode*)(data + 2))->continuous = false; + //} m_write_reports.Push(rpt); } |
