aboutsummaryrefslogtreecommitdiff
path: root/src/core/core.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-03-22 18:41:44 -0400
committerGitHub <noreply@github.com>2019-03-22 18:41:44 -0400
commitb69517e9a1b4987f23b86a9a37d3f32dfd5d98c3 (patch)
tree3ba56734bd2595d7f310dd028079af31ed9fcaca /src/core/core.cpp
parentfabddcb96218709d84e036cfa3bc0c56d7dc3369 (diff)
parent0d44c061fe80e256e4ee487f16882554681d9481 (diff)
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 a88e332be7..4fe77c25b8 100644
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -460,8 +460,8 @@ Tegra::DebugContext* System::GetGPUDebugContext() const {
void System::RegisterCheatList(const std::vector<FileSys::CheatList>& list,
const std::string& build_id, VAddr code_region_start,
VAddr code_region_end) {
- impl->cheat_engine =
- std::make_unique<FileSys::CheatEngine>(list, build_id, code_region_start, code_region_end);
+ impl->cheat_engine = std::make_unique<FileSys::CheatEngine>(*this, list, build_id,
+ code_region_start, code_region_end);
}
void System::SetFilesystem(std::shared_ptr<FileSys::VfsFilesystem> vfs) {