MultitapProtocol: Fix Wtype-limits warning.

This commit is contained in:
lightningterror 2022-11-19 17:57:11 +01:00
parent 5c104f8e1d
commit 5286b19af5
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ void MultitapProtocol::Select()
MT_LOG.WriteLn("%s", __FUNCTION__);
const u8 newSlot = fifoIn.front();
fifoIn.pop_front();
const bool isInBounds = (newSlot >= 0 && newSlot < SIO::SLOTS);
const bool isInBounds = (newSlot < SIO::SLOTS);
if (isInBounds)
{