diff options
| author | 2023-02-15 17:42:45 -0500 | |
|---|---|---|
| committer | 2023-02-15 17:42:45 -0500 | |
| commit | 6d77de96dae4763ef78fdea1918b582e5e181653 (patch) | |
| tree | 0c131de68a68c23f62a8a253b3cf69d3bfc91ee7 /src/core/memory | |
| parent | Merge pull request #9782 from arades79/fix-consexpr-value-declaration-usage (diff) | |
| parent | general: rename CurrentProcess to ApplicationProcess (diff) | |
| download | yuzu-6d77de96dae4763ef78fdea1918b582e5e181653.tar.gz yuzu-6d77de96dae4763ef78fdea1918b582e5e181653.tar.xz yuzu-6d77de96dae4763ef78fdea1918b582e5e181653.zip | |
Merge pull request #9796 from liamwhite/current
general: rename CurrentProcess to ApplicationProcess
Diffstat (limited to 'src/core/memory')
| -rw-r--r-- | src/core/memory/cheat_engine.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/memory/cheat_engine.cpp b/src/core/memory/cheat_engine.cpp index ffdbacc18..44ee39648 100644 --- a/src/core/memory/cheat_engine.cpp +++ b/src/core/memory/cheat_engine.cpp | |||
| @@ -191,10 +191,10 @@ void CheatEngine::Initialize() { | |||
| 191 | }); | 191 | }); |
| 192 | core_timing.ScheduleLoopingEvent(CHEAT_ENGINE_NS, CHEAT_ENGINE_NS, event); | 192 | core_timing.ScheduleLoopingEvent(CHEAT_ENGINE_NS, CHEAT_ENGINE_NS, event); |
| 193 | 193 | ||
| 194 | metadata.process_id = system.CurrentProcess()->GetProcessID(); | 194 | metadata.process_id = system.ApplicationProcess()->GetProcessID(); |
| 195 | metadata.title_id = system.GetCurrentProcessProgramID(); | 195 | metadata.title_id = system.GetApplicationProcessProgramID(); |
| 196 | 196 | ||
| 197 | const auto& page_table = system.CurrentProcess()->PageTable(); | 197 | const auto& page_table = system.ApplicationProcess()->PageTable(); |
| 198 | metadata.heap_extents = { | 198 | metadata.heap_extents = { |
| 199 | .base = page_table.GetHeapRegionStart(), | 199 | .base = page_table.GetHeapRegionStart(), |
| 200 | .size = page_table.GetHeapRegionSize(), | 200 | .size = page_table.GetHeapRegionSize(), |