diff options
Diffstat (limited to 'src/core/core.cpp')
| -rw-r--r-- | src/core/core.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp index ce53ef758..32c5b112d 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp | |||
| @@ -450,8 +450,10 @@ Tegra::DebugContext* System::GetGPUDebugContext() const { | |||
| 450 | } | 450 | } |
| 451 | 451 | ||
| 452 | void System::RegisterCheatList(const std::vector<FileSys::CheatList>& list, | 452 | void System::RegisterCheatList(const std::vector<FileSys::CheatList>& list, |
| 453 | const std::string& build_id) { | 453 | const std::string& build_id, VAddr code_region_start, |
| 454 | impl->cheat_engine = std::make_unique<FileSys::CheatEngine>(list, build_id); | 454 | VAddr code_region_end) { |
| 455 | impl->cheat_engine = | ||
| 456 | std::make_unique<FileSys::CheatEngine>(list, build_id, code_region_start, code_region_end); | ||
| 455 | } | 457 | } |
| 456 | 458 | ||
| 457 | void System::SetFilesystem(std::shared_ptr<FileSys::VfsFilesystem> vfs) { | 459 | void System::SetFilesystem(std::shared_ptr<FileSys::VfsFilesystem> vfs) { |