mirror of https://github.com/PCSX2/pcsx2.git
MultitapProtocol: Fix Wtype-limits warning.
This commit is contained in:
parent
5c104f8e1d
commit
5286b19af5
|
@ -37,7 +37,7 @@ void MultitapProtocol::Select()
|
||||||
MT_LOG.WriteLn("%s", __FUNCTION__);
|
MT_LOG.WriteLn("%s", __FUNCTION__);
|
||||||
const u8 newSlot = fifoIn.front();
|
const u8 newSlot = fifoIn.front();
|
||||||
fifoIn.pop_front();
|
fifoIn.pop_front();
|
||||||
const bool isInBounds = (newSlot >= 0 && newSlot < SIO::SLOTS);
|
const bool isInBounds = (newSlot < SIO::SLOTS);
|
||||||
|
|
||||||
if (isInBounds)
|
if (isInBounds)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue