mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-21 03:54:57 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue