Move solution and projects to src
This commit is contained in:
27
src/Ryujinx.HLE/HOS/Tamper/Operations/Block.cs
Normal file
27
src/Ryujinx.HLE/HOS/Tamper/Operations/Block.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Ryujinx.HLE.HOS.Tamper.Operations
|
||||
{
|
||||
class Block : IOperation
|
||||
{
|
||||
private IEnumerable<IOperation> _operations;
|
||||
|
||||
public Block(IEnumerable<IOperation> operations)
|
||||
{
|
||||
_operations = operations;
|
||||
}
|
||||
|
||||
public Block(params IOperation[] operations)
|
||||
{
|
||||
_operations = operations;
|
||||
}
|
||||
|
||||
public void Execute()
|
||||
{
|
||||
foreach (IOperation op in _operations)
|
||||
{
|
||||
op.Execute();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user