mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 04:38:49 +00:00
An attempt to fix Issue 1919 (Multi-Wiimote Freezing)
Please test. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4787 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
6500db254f
commit
516f7a4ca1
11 changed files with 137 additions and 135 deletions
|
@ -73,13 +73,18 @@ void WmReportMode(u16 _channelID, wm_report_mode* dr)
|
|||
INFO_LOG(WIIMOTE, "Set data report mode");
|
||||
DEBUG_LOG(WIIMOTE, " Rumble: %x", dr->rumble);
|
||||
DEBUG_LOG(WIIMOTE, " Continuous: %x", dr->continuous);
|
||||
DEBUG_LOG(WIIMOTE, " All The Time: %x (not only on data change)", dr->all_the_time);
|
||||
DEBUG_LOG(WIIMOTE, " All The Time: %x", dr->all_the_time);
|
||||
DEBUG_LOG(WIIMOTE, " Mode: 0x%02x", dr->mode);
|
||||
|
||||
g_ReportingAuto[g_ID] = dr->all_the_time;
|
||||
g_ReportingMode[g_ID] = dr->mode;
|
||||
g_ReportingChannel[g_ID] = _channelID;
|
||||
|
||||
if (dr->all_the_time == 0)
|
||||
{
|
||||
PanicAlert("Wiimote: Reporting Always is set to OFF!");
|
||||
}
|
||||
|
||||
// Validation check
|
||||
switch(dr->mode)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue