aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys/patch_manager.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-03-22 18:41:44 -0400
committerGitHub <noreply@github.com>2019-03-22 18:41:44 -0400
commit819dd93257c438a74f8abc74c3a240c4802cbf2e (patch)
tree3ba56734bd2595d7f310dd028079af31ed9fcaca /src/core/file_sys/patch_manager.h
parente5893db3e618fd276733a24eebc0606c5fd1e7f2 (diff)
parent733cf179b84a098955f0b7296d90da0aac3ddf7b (diff)
Merge pull request #2279 from lioncash/cheat-global
file_sys/cheat_engine: Remove use of global system accessors
Diffstat (limited to 'src/core/file_sys/patch_manager.h')
-rw-r--r--src/core/file_sys/patch_manager.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/core/file_sys/patch_manager.h b/src/core/file_sys/patch_manager.h
index 3e3ac6aca..de2672c76 100644
--- a/src/core/file_sys/patch_manager.h
+++ b/src/core/file_sys/patch_manager.h
@@ -12,6 +12,10 @@
#include "core/file_sys/nca_metadata.h"
#include "core/file_sys/vfs.h"
+namespace Core {
+class System;
+}
+
namespace FileSys {
class NCA;
@@ -47,7 +51,8 @@ public:
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;
+ std::vector<CheatList> CreateCheatList(const Core::System& system,
+ const std::array<u8, 0x20>& build_id) const;
// Currently tracked RomFS patches:
// - Game Updates