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

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