summaryrefslogtreecommitdiff
path: root/src/core/core.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2019-03-22 18:41:44 -0400
committerGravatar GitHub2019-03-22 18:41:44 -0400
commit819dd93257c438a74f8abc74c3a240c4802cbf2e (patch)
tree3ba56734bd2595d7f310dd028079af31ed9fcaca /src/core/core.cpp
parentMerge pull request #2256 from bunnei/gpu-vmm (diff)
parentfile_sys/cheat_engine: Silence truncation and sign-conversion warnings (diff)
downloadyuzu-819dd93257c438a74f8abc74c3a240c4802cbf2e.tar.gz
yuzu-819dd93257c438a74f8abc74c3a240c4802cbf2e.tar.xz
yuzu-819dd93257c438a74f8abc74c3a240c4802cbf2e.zip
Merge pull request #2279 from lioncash/cheat-global
file_sys/cheat_engine: Remove use of global system accessors
Diffstat (limited to 'src/core/core.cpp')
-rw-r--r--src/core/core.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp
index a88e332be..4fe77c25b 100644
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -460,8 +460,8 @@ Tegra::DebugContext* System::GetGPUDebugContext() const {
460void System::RegisterCheatList(const std::vector<FileSys::CheatList>& list, 460void System::RegisterCheatList(const std::vector<FileSys::CheatList>& list,
461 const std::string& build_id, VAddr code_region_start, 461 const std::string& build_id, VAddr code_region_start,
462 VAddr code_region_end) { 462 VAddr code_region_end) {
463 impl->cheat_engine = 463 impl->cheat_engine = std::make_unique<FileSys::CheatEngine>(*this, list, build_id,
464 std::make_unique<FileSys::CheatEngine>(list, build_id, code_region_start, code_region_end); 464 code_region_start, code_region_end);
465} 465}
466 466
467void System::SetFilesystem(std::shared_ptr<FileSys::VfsFilesystem> vfs) { 467void System::SetFilesystem(std::shared_ptr<FileSys::VfsFilesystem> vfs) {