summaryrefslogtreecommitdiffstats
path: root/src/core/core.h
diff options
context:
space:
mode:
authorDavid <25727384+ogniK5377@users.noreply.github.com>2019-09-22 08:24:42 +0200
committerGitHub <noreply@github.com>2019-09-22 08:24:42 +0200
commit9187350b322c3140c2bec3938b91289ab55e9aae (patch)
treec2f9d045cee2bb87b1182ae93d5072b416b1b87c /src/core/core.h
parentMerge pull request #2709 from DarkLordZach/oss-ext-fonts-1 (diff)
parentdmnt_cheat_vm: Default initialize structure values (diff)
downloadyuzu-9187350b322c3140c2bec3938b91289ab55e9aae.tar
yuzu-9187350b322c3140c2bec3938b91289ab55e9aae.tar.gz
yuzu-9187350b322c3140c2bec3938b91289ab55e9aae.tar.bz2
yuzu-9187350b322c3140c2bec3938b91289ab55e9aae.tar.lz
yuzu-9187350b322c3140c2bec3938b91289ab55e9aae.tar.xz
yuzu-9187350b322c3140c2bec3938b91289ab55e9aae.tar.zst
yuzu-9187350b322c3140c2bec3938b91289ab55e9aae.zip
Diffstat (limited to 'src/core/core.h')
-rw-r--r--src/core/core.h10
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;
} // namespace Core::Frontend
namespace FileSys {
-class CheatList;
class ContentProvider;
class ContentProviderUnion;
enum class ContentProviderUnionSlot;
@@ -36,6 +35,10 @@ class AppLoader;
enum class ResultStatus : u16;
} // namespace Loader
+namespace Memory {
+struct CheatEntry;
+} // namespace Memory
+
namespace Service {
namespace AM::Applets {
@@ -286,8 +289,9 @@ public:
std::shared_ptr<FileSys::VfsFilesystem> GetFilesystem() const;
- void RegisterCheatList(const std::vector<FileSys::CheatList>& list, const std::string& build_id,
- VAddr code_region_start, VAddr code_region_end);
+ void RegisterCheatList(const std::vector<Memory::CheatEntry>& list,
+ const std::array<u8, 0x20>& build_id, VAddr main_region_begin,
+ u64 main_region_size);
void SetAppletFrontendSet(Service::AM::Applets::AppletFrontendSet&& set);