mirror of
https://github.com/Ryubing/Ryujinx.git
synced 2025-11-30 11:22:21 -05:00
Move solution and projects to src
This commit is contained in:
19
src/Ryujinx.HLE/HOS/Tamper/Operations/OpNot.cs
Normal file
19
src/Ryujinx.HLE/HOS/Tamper/Operations/OpNot.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
namespace Ryujinx.HLE.HOS.Tamper.Operations
|
||||
{
|
||||
class OpNot<T> : IOperation where T : unmanaged
|
||||
{
|
||||
IOperand _destination;
|
||||
IOperand _source;
|
||||
|
||||
public OpNot(IOperand destination, IOperand source)
|
||||
{
|
||||
_destination = destination;
|
||||
_source = source;
|
||||
}
|
||||
|
||||
public void Execute()
|
||||
{
|
||||
_destination.Set((T)(~(dynamic)_source.Get<T>()));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user