mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-11-16 01:55:27 +00:00
20 lines
419 B
C#
20 lines
419 B
C#
|
namespace Ryujinx.HLE.HOS.Tamper.Operations
|
||
|
{
|
||
|
class OpMov<T> : IOperation where T : unmanaged
|
||
|
{
|
||
|
IOperand _destination;
|
||
|
IOperand _source;
|
||
|
|
||
|
public OpMov(IOperand destination, IOperand source)
|
||
|
{
|
||
|
_destination = destination;
|
||
|
_source = source;
|
||
|
}
|
||
|
|
||
|
public void Execute()
|
||
|
{
|
||
|
_destination.Set(_source.Get<T>());
|
||
|
}
|
||
|
}
|
||
|
}
|