diff options
author | Liam <byteslice@airmail.cc> | 2023-07-15 03:43:15 +0200 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-07-15 03:43:15 +0200 |
commit | a85ce8ea563dfdd0ea61b22a80ffcf7ff66861cb (patch) | |
tree | 40f818c29a9e19dbc2c7aeb352d7892c59d7e858 /src/core/memory | |
parent | file_sys/content_archive: Detect compressed NCAs (#11047) (diff) | |
download | yuzu-a85ce8ea563dfdd0ea61b22a80ffcf7ff66861cb.tar yuzu-a85ce8ea563dfdd0ea61b22a80ffcf7ff66861cb.tar.gz yuzu-a85ce8ea563dfdd0ea61b22a80ffcf7ff66861cb.tar.bz2 yuzu-a85ce8ea563dfdd0ea61b22a80ffcf7ff66861cb.tar.lz yuzu-a85ce8ea563dfdd0ea61b22a80ffcf7ff66861cb.tar.xz yuzu-a85ce8ea563dfdd0ea61b22a80ffcf7ff66861cb.tar.zst yuzu-a85ce8ea563dfdd0ea61b22a80ffcf7ff66861cb.zip |
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 { CheatEngine::CheatEngine(System& system_, std::vector<CheatEntry> cheats_, const std::array<u8, 0x20>& build_id_) - : vm{std::make_unique<StandardVmCallbacks>(system_, metadata)}, - cheats(std::move(cheats_)), core_timing{system_.CoreTiming()}, system{system_} { + : vm{std::make_unique<StandardVmCallbacks>(system_, metadata)}, cheats(std::move(cheats_)), + core_timing{system_.CoreTiming()}, system{system_} { metadata.main_nso_build_id = build_id_; } @@ -199,7 +199,7 @@ void CheatEngine::Initialize() { metadata.process_id = system.ApplicationProcess()->GetProcessId(); metadata.title_id = system.GetApplicationProcessProgramID(); - const auto& page_table = system.ApplicationProcess()->PageTable(); + const auto& page_table = system.ApplicationProcess()->GetPageTable(); metadata.heap_extents = { .base = GetInteger(page_table.GetHeapRegionStart()), .size = page_table.GetHeapRegionSize(), |