diff options
| author | 2019-03-22 18:41:44 -0400 | |
|---|---|---|
| committer | 2019-03-22 18:41:44 -0400 | |
| commit | 819dd93257c438a74f8abc74c3a240c4802cbf2e (patch) | |
| tree | 3ba56734bd2595d7f310dd028079af31ed9fcaca /src/core/core.cpp | |
| parent | Merge pull request #2256 from bunnei/gpu-vmm (diff) | |
| parent | file_sys/cheat_engine: Silence truncation and sign-conversion warnings (diff) | |
| download | yuzu-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.cpp | 4 |
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 { | |||
| 460 | void System::RegisterCheatList(const std::vector<FileSys::CheatList>& list, | 460 | void 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 | ||
| 467 | void System::SetFilesystem(std::shared_ptr<FileSys::VfsFilesystem> vfs) { | 467 | void System::SetFilesystem(std::shared_ptr<FileSys::VfsFilesystem> vfs) { |