mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-03 19:41:45 +02:00
Merge pull request #9657 from lioncash/wiimote-mode
DataReport: Amend conditional test for data reports in IsValidMode
This commit is contained in:
commit
bf16f77402
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user