aboutsummaryrefslogblamecommitdiff
path: root/src/Ryujinx.HLE/HOS/Tamper/Operations/Block.cs
blob: d81daa9039c5d740ab5611452c6dec74e911ba7c (plain) (tree)

























                                                        
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();
            }
        }
    }
}