aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.HLE/HOS/Tamper/ITamperedProcess.cs
blob: c86e10210ed12578004bc66fe4a3a6d593df9914 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
using Ryujinx.HLE.HOS.Kernel.Process;

namespace Ryujinx.HLE.HOS.Tamper
{
    interface ITamperedProcess
    {
        ProcessState State { get; }

        bool TamperedCodeMemory { get; set; }

        T ReadMemory<T>(ulong va) where T : unmanaged;
        void WriteMemory<T>(ulong va, T value) where T : unmanaged;
        void PauseProcess();
        void ResumeProcess();
    }
}