From 5286b19af566e05237fcbe2d43a6648b334027a8 Mon Sep 17 00:00:00 2001 From: lightningterror <18107717+lightningterror@users.noreply.github.com> Date: Sat, 19 Nov 2022 17:57:11 +0100 Subject: [PATCH] MultitapProtocol: Fix Wtype-limits warning. --- pcsx2/MultitapProtocol.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2/MultitapProtocol.cpp b/pcsx2/MultitapProtocol.cpp index 0d4a72b3c4..0223887b0c 100644 --- a/pcsx2/MultitapProtocol.cpp +++ b/pcsx2/MultitapProtocol.cpp @@ -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) {