summaryrefslogtreecommitdiffstats
path: root/src/core/memory/cheat_engine.cpp
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-07-15 03:43:15 +0200
committerLiam <byteslice@airmail.cc>2023-07-15 03:43:15 +0200
commita85ce8ea563dfdd0ea61b22a80ffcf7ff66861cb (patch)
tree40f818c29a9e19dbc2c7aeb352d7892c59d7e858 /src/core/memory/cheat_engine.cpp
parentfile_sys/content_archive: Detect compressed NCAs (#11047) (diff)
downloadyuzu-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/cheat_engine.cpp')
-rw-r--r--src/core/memory/cheat_engine.cpp6
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(),