From beacf8c1c89d94a31d98c1b4ad74ee84f80945bc Mon Sep 17 00:00:00 2001 From: mageven <62494521+mageven@users.noreply.github.com> Date: Mon, 17 Oct 2022 04:21:52 +0530 Subject: [PATCH] TamperMachine: Fix input mask check (#3764) --- Ryujinx.HLE/HOS/Tamper/Conditions/InputMask.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ryujinx.HLE/HOS/Tamper/Conditions/InputMask.cs b/Ryujinx.HLE/HOS/Tamper/Conditions/InputMask.cs index 38ea90c58a..8d75a0e185 100644 --- a/Ryujinx.HLE/HOS/Tamper/Conditions/InputMask.cs +++ b/Ryujinx.HLE/HOS/Tamper/Conditions/InputMask.cs @@ -13,7 +13,7 @@ namespace Ryujinx.HLE.HOS.Tamper.Conditions public bool Evaluate() { - return (_input.Value & _mask) != 0; + return (_input.Value & _mask) == _mask; } } }