TamperMachine: Fix input mask check (#3764)

This commit is contained in:
mageven 2022-10-17 04:21:52 +05:30 committed by GitHub
parent 0dbe45ae37
commit beacf8c1c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;
}
}
}