mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-20 19:44:57 +00:00
Merge pull request #1573 from kamiyo/fix-wiimote-speaker
Fix wiimotespeaker emulation affecting real wiimote
This commit is contained in:
commit
15e7a8c247
1 changed files with 2 additions and 3 deletions
|
@ -784,12 +784,11 @@ void Wiimote::HidOutputReport(const wm_report* const sr, const bool send_ack)
|
|||
break;
|
||||
|
||||
case WM_WRITE_SPEAKER_DATA : // 0x18
|
||||
{
|
||||
//wm_speaker_data *spkz = (wm_speaker_data*)sr->data;
|
||||
//ERROR_LOG(WIIMOTE, "WM_WRITE_SPEAKER_DATA len:%x %s", spkz->length,
|
||||
// ArrayToString(spkz->data, spkz->length, 100, false).c_str());
|
||||
Wiimote::SpeakerData((wm_speaker_data*)sr->data);
|
||||
}
|
||||
if (WIIMOTE_SRC_EMU & g_wiimote_sources[m_index])
|
||||
Wiimote::SpeakerData((wm_speaker_data*) sr->data);
|
||||
return; // no ack
|
||||
break;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue