diff options
| author | Caian Benedicto <caianbene@gmail.com> | 2021-08-04 17:05:17 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-04 22:05:17 +0200 |
| commit | ff8849671af5ac14fc9cc9d37da30f53d3f13d89 (patch) | |
| tree | 636e4e249084b20b871c158fdb8ff4f2b03f36e0 /Ryujinx.HLE/HOS/Tamper/AtmosphereProgram.cs | |
| parent | a27986c31167d8ce60efcee7e901da241f63ed08 (diff) | |
Update TamperMachine and disable write-to-code prevention (#2506)
* Enable write to memory and improve logging
* Update tamper machine opcodes and improve reporting
* Add Else support
* Add missing private statement
Diffstat (limited to 'Ryujinx.HLE/HOS/Tamper/AtmosphereProgram.cs')
| -rw-r--r-- | Ryujinx.HLE/HOS/Tamper/AtmosphereProgram.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Ryujinx.HLE/HOS/Tamper/AtmosphereProgram.cs b/Ryujinx.HLE/HOS/Tamper/AtmosphereProgram.cs index 1fd0afb4..dac445b0 100644 --- a/Ryujinx.HLE/HOS/Tamper/AtmosphereProgram.cs +++ b/Ryujinx.HLE/HOS/Tamper/AtmosphereProgram.cs @@ -8,10 +8,13 @@ namespace Ryujinx.HLE.HOS.Tamper private Parameter<long> _pressedKeys; private IOperation _entryPoint; + public string Name { get; } + public bool TampersCodeMemory { get; set; } = false; public ITamperedProcess Process { get; } - public AtmosphereProgram(ITamperedProcess process, Parameter<long> pressedKeys, IOperation entryPoint) + public AtmosphereProgram(string name, ITamperedProcess process, Parameter<long> pressedKeys, IOperation entryPoint) { + Name = name; Process = process; _pressedKeys = pressedKeys; _entryPoint = entryPoint; |
