diff options
| author | 2023-07-14 21:43:15 -0400 | |
|---|---|---|
| committer | 2023-07-14 21:43:15 -0400 | |
| commit | a85ce8ea563dfdd0ea61b22a80ffcf7ff66861cb (patch) | |
| tree | 40f818c29a9e19dbc2c7aeb352d7892c59d7e858 /src/core/memory | |
| parent | file_sys/content_archive: Detect compressed NCAs (#11047) (diff) | |
| download | yuzu-a85ce8ea563dfdd0ea61b22a80ffcf7ff66861cb.tar.gz yuzu-a85ce8ea563dfdd0ea61b22a80ffcf7ff66861cb.tar.xz yuzu-a85ce8ea563dfdd0ea61b22a80ffcf7ff66861cb.zip | |
k_process: PageTable -> GetPageTable
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 8742dd164..1f87678e2 100644 --- a/src/core/memory/cheat_engine.cpp +++ b/src/core/memory/cheat_engine.cpp | |||
| @@ -177,8 +177,8 @@ std::vector<CheatEntry> TextCheatParser::Parse(std::string_view data) const { | |||
| 177 | 177 | ||
| 178 | CheatEngine::CheatEngine(System& system_, std::vector<CheatEntry> cheats_, | 178 | CheatEngine::CheatEngine(System& system_, std::vector<CheatEntry> cheats_, |
| 179 | const std::array<u8, 0x20>& build_id_) | 179 | const std::array<u8, 0x20>& build_id_) |
| 180 | : vm{std::make_unique<StandardVmCallbacks>(system_, metadata)}, | 180 | : vm{std::make_unique<StandardVmCallbacks>(system_, metadata)}, cheats(std::move(cheats_)), |
| 181 | cheats(std::move(cheats_)), core_timing{system_.CoreTiming()}, system{system_} { | 181 | core_timing{system_.CoreTiming()}, system{system_} { |
| 182 | metadata.main_nso_build_id = build_id_; | 182 | metadata.main_nso_build_id = build_id_; |
| 183 | } | 183 | } |
| 184 | 184 | ||
| @@ -199,7 +199,7 @@ void CheatEngine::Initialize() { | |||
| 199 | metadata.process_id = system.ApplicationProcess()->GetProcessId(); | 199 | metadata.process_id = system.ApplicationProcess()->GetProcessId(); |
| 200 | metadata.title_id = system.GetApplicationProcessProgramID(); | 200 | metadata.title_id = system.GetApplicationProcessProgramID(); |
| 201 | 201 | ||
| 202 | const auto& page_table = system.ApplicationProcess()->PageTable(); | 202 | const auto& page_table = system.ApplicationProcess()->GetPageTable(); |
| 203 | metadata.heap_extents = { | 203 | metadata.heap_extents = { |
| 204 | .base = GetInteger(page_table.GetHeapRegionStart()), | 204 | .base = GetInteger(page_table.GetHeapRegionStart()), |
| 205 | .size = page_table.GetHeapRegionSize(), | 205 | .size = page_table.GetHeapRegionSize(), |