diff options
| author | 2019-05-30 19:36:18 -0400 | |
|---|---|---|
| committer | 2019-09-21 21:45:05 -0400 | |
| commit | 37850eeee57adfb5318aff7cd19bf9ba334ab738 (patch) | |
| tree | 06668d4787e7b75043da4f83cffbdf35ac892b02 /src/core/core.h | |
| parent | patch_manager: Update cheat parsing for new VM (diff) | |
| download | yuzu-37850eeee57adfb5318aff7cd19bf9ba334ab738.tar.gz yuzu-37850eeee57adfb5318aff7cd19bf9ba334ab738.tar.xz yuzu-37850eeee57adfb5318aff7cd19bf9ba334ab738.zip | |
core: Update RegisterCheatList for new VM
Diffstat (limited to 'src/core/core.h')
| -rw-r--r-- | src/core/core.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/core/core.h b/src/core/core.h index bb2962fdd..d2a3c82d8 100644 --- a/src/core/core.h +++ b/src/core/core.h | |||
| @@ -18,7 +18,6 @@ class EmuWindow; | |||
| 18 | } // namespace Core::Frontend | 18 | } // namespace Core::Frontend |
| 19 | 19 | ||
| 20 | namespace FileSys { | 20 | namespace FileSys { |
| 21 | class CheatList; | ||
| 22 | class ContentProvider; | 21 | class ContentProvider; |
| 23 | class ContentProviderUnion; | 22 | class ContentProviderUnion; |
| 24 | enum class ContentProviderUnionSlot; | 23 | enum class ContentProviderUnionSlot; |
| @@ -36,6 +35,10 @@ class AppLoader; | |||
| 36 | enum class ResultStatus : u16; | 35 | enum class ResultStatus : u16; |
| 37 | } // namespace Loader | 36 | } // namespace Loader |
| 38 | 37 | ||
| 38 | namespace Memory { | ||
| 39 | struct CheatEntry; | ||
| 40 | } // namespace Memory | ||
| 41 | |||
| 39 | namespace Service { | 42 | namespace Service { |
| 40 | 43 | ||
| 41 | namespace AM::Applets { | 44 | namespace AM::Applets { |
| @@ -286,8 +289,9 @@ public: | |||
| 286 | 289 | ||
| 287 | std::shared_ptr<FileSys::VfsFilesystem> GetFilesystem() const; | 290 | std::shared_ptr<FileSys::VfsFilesystem> GetFilesystem() const; |
| 288 | 291 | ||
| 289 | void RegisterCheatList(const std::vector<FileSys::CheatList>& list, const std::string& build_id, | 292 | void RegisterCheatList(const std::vector<Memory::CheatEntry>& list, |
| 290 | VAddr code_region_start, VAddr code_region_end); | 293 | const std::array<u8, 0x20>& build_id, VAddr main_region_begin, |
| 294 | u64 main_region_size); | ||
| 291 | 295 | ||
| 292 | void SetAppletFrontendSet(Service::AM::Applets::AppletFrontendSet&& set); | 296 | void SetAppletFrontendSet(Service::AM::Applets::AppletFrontendSet&& set); |
| 293 | 297 | ||