mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-10-11 03:18:51 +02:00
Move solution and projects to src
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
using Ryujinx.HLE.HOS.Tamper.Operations;
|
||||
|
||||
namespace Ryujinx.HLE.HOS.Tamper.Conditions
|
||||
{
|
||||
class CondLE<T> : ICondition where T : unmanaged
|
||||
{
|
||||
private IOperand _lhs;
|
||||
private IOperand _rhs;
|
||||
|
||||
public CondLE(IOperand lhs, IOperand rhs)
|
||||
{
|
||||
_lhs = lhs;
|
||||
_rhs = rhs;
|
||||
}
|
||||
|
||||
public bool Evaluate()
|
||||
{
|
||||
return (dynamic)_lhs.Get<T>() <= (dynamic)_rhs.Get<T>();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user