aboutsummaryrefslogblamecommitdiff
path: root/src/Ryujinx.HLE/HOS/Tamper/Operations/OpMov.cs
blob: af82f18e04d932e1fa401bdfb2c188a75155beda (plain) (tree)
1
2
3
4
5
6


                                                   
                                       











                                                           
namespace Ryujinx.HLE.HOS.Tamper.Operations
{
    class OpMov<T> : IOperation where T : unmanaged
    {
        readonly IOperand _destination;
        readonly IOperand _source;

        public OpMov(IOperand destination, IOperand source)
        {
            _destination = destination;
            _source = source;
        }

        public void Execute()
        {
            _destination.Set(_source.Get<T>());
        }
    }
}