Hopefully make wiimote speaker less crappy.
This commit is contained in:
1 parent
bc35764ec2
commit
d0190faded
1 file changed
+2
-2
@@ -182,11 +182,11 @@ bool Wiimote::Write()
|
|||||||
{
|
{
|
||||||
Report rpt;
|
Report rpt;
|
||||||
|
|
||||||
if (last_audio_report.GetTimeDifference() > 6 && m_audio_reports.Pop(rpt))
|
if (last_audio_report.GetTimeDifference() > 5 && m_audio_reports.Pop(rpt))
|
||||||
{
|
{
|
||||||
|
IOWrite(rpt.first, rpt.second);
|
||||||
last_audio_report.Update();
|
last_audio_report.Update();
|
||||||
|
|
||||||
IOWrite(rpt.first, rpt.second);
|
|
||||||
delete[] rpt.first;
|
delete[] rpt.first;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user