diff options
author | Lioncash <mathew1800@gmail.com> | 2019-03-22 06:08:11 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-03-22 14:43:37 -0400 |
commit | 540235bb05ecd18b958f9ef2a667d94fedca61af (patch) | |
tree | 28e3b04177a193d3e476c0610c29c5862ea63350 /src/core/core.cpp | |
parent | 7b6d516faa788c25e26c79e2e5d19915f73983a5 (diff) |
file_sys/cheat_engine: Remove use of global system accessors
Instead, pass in the core timing instance and make the dependency
explicit in the interface.
Diffstat (limited to 'src/core/core.cpp')
-rw-r--r-- | src/core/core.cpp | 4 |
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) { |