TamperMachine: Fix input mask check (#3764)

This commit is contained in:
mageven 2022-10-17 04:21:52 +05:30 committed by Matt Heins
parent 48738797e2
commit 8e90589e00

View file

@ -13,7 +13,7 @@ namespace Ryujinx.HLE.HOS.Tamper.Conditions
public bool Evaluate()
{
return (_input.Value & _mask) != 0;
return (_input.Value & _mask) == _mask;
}
}
}