Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #9657 from lioncash/wiimote-mode
DataReport: Amend conditional test for data reports in IsValidMode
  • Loading branch information
jordan-woyak committed May 12, 2021
2 parents eb5cd9b + b21d621 commit bf16f77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/Core/HW/WiimoteCommon/DataReport.cpp
Expand Up @@ -335,7 +335,7 @@ InputReportID DataReportBuilder::GetMode() const
bool DataReportBuilder::IsValidMode(InputReportID mode)
{
return (mode >= InputReportID::ReportCore && mode <= InputReportID::ReportCoreAccelIR10Ext6) ||
(mode >= InputReportID::ReportExt21 && InputReportID::ReportInterleave2 <= mode);
(mode >= InputReportID::ReportExt21 && mode <= InputReportID::ReportInterleave2);
}

bool DataReportBuilder::HasCore() const
Expand Down

0 comments on commit bf16f77

Please sign in to comment.