mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-06 08:09:19 +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)
|
bool DataReportBuilder::IsValidMode(InputReportID mode)
|
||||||
{
|
{
|
||||||
return (mode >= InputReportID::ReportCore && mode <= InputReportID::ReportCoreAccelIR10Ext6) ||
|
return (mode >= InputReportID::ReportCore && mode <= InputReportID::ReportCoreAccelIR10Ext6) ||
|
||||||
(mode >= InputReportID::ReportExt21 && InputReportID::ReportInterleave2 <= mode);
|
(mode >= InputReportID::ReportExt21 && mode <= InputReportID::ReportInterleave2);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool DataReportBuilder::HasCore() const
|
bool DataReportBuilder::HasCore() const
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue