diff options
| author | Zach Hilman <zachhilman@gmail.com> | 2018-12-22 21:28:56 -0500 |
|---|---|---|
| committer | Zach Hilman <zachhilman@gmail.com> | 2019-03-04 18:39:57 -0500 |
| commit | 57c6d77be07ff6d44dba3b1b6218366f9cd02403 (patch) | |
| tree | 652232b1ab5ba14d49c5fc70d54bd0e0d2edf55f /src/core/file_sys/patch_manager.h | |
| parent | b1fbf45e5ed75dab70a1ccac2b6ebeb4c8902286 (diff) | |
patch_manager: Add support for loading cheats lists
Uses load/<title_id>/<mod_name>/cheats as root dir, file name is all upper or lower hex first 8 bytes build ID.
Diffstat (limited to 'src/core/file_sys/patch_manager.h')
| -rw-r--r-- | src/core/file_sys/patch_manager.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/file_sys/patch_manager.h b/src/core/file_sys/patch_manager.h index b8a1652fd5..3e3ac6aca0 100644 --- a/src/core/file_sys/patch_manager.h +++ b/src/core/file_sys/patch_manager.h @@ -8,6 +8,7 @@ #include <memory> #include <string> #include "common/common_types.h" +#include "core/file_sys/cheat_engine.h" #include "core/file_sys/nca_metadata.h" #include "core/file_sys/vfs.h" @@ -45,6 +46,9 @@ public: // Used to prevent expensive copies in NSO loader. bool HasNSOPatch(const std::array<u8, 0x20>& build_id) const; + // Creates a CheatList object with all + std::vector<CheatList> CreateCheatList(const std::array<u8, 0x20>& build_id) const; + // Currently tracked RomFS patches: // - Game Updates // - LayeredFS |
