diff options
| author | 2023-02-13 11:21:43 -0500 | |
|---|---|---|
| committer | 2023-02-13 19:03:12 -0500 | |
| commit | ceda2d280e8a3030c1e23083c5cea9158387fe4c (patch) | |
| tree | 8041460840ed81d4cb74d87eecfb8fb720cdfa15 /src/core/memory | |
| parent | kernel: use GetCurrentProcess (diff) | |
| download | yuzu-ceda2d280e8a3030c1e23083c5cea9158387fe4c.tar.gz yuzu-ceda2d280e8a3030c1e23083c5cea9158387fe4c.tar.xz yuzu-ceda2d280e8a3030c1e23083c5cea9158387fe4c.zip | |
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(), |