summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2019-04-29 00:43:10 +0200
committerZach Hilman <zachhilman@gmail.com>2019-09-30 23:20:49 +0200
commit943662dc3c59537d7c3e05b98cfc08212491ac87 (patch)
treedbfd89f653458184fdc85735d8952db3e284e4bc /src/core/hle
parentfilesystem: Add getter for BCAT temporary directory (diff)
downloadyuzu-943662dc3c59537d7c3e05b98cfc08212491ac87.tar
yuzu-943662dc3c59537d7c3e05b98cfc08212491ac87.tar.gz
yuzu-943662dc3c59537d7c3e05b98cfc08212491ac87.tar.bz2
yuzu-943662dc3c59537d7c3e05b98cfc08212491ac87.tar.lz
yuzu-943662dc3c59537d7c3e05b98cfc08212491ac87.tar.xz
yuzu-943662dc3c59537d7c3e05b98cfc08212491ac87.tar.zst
yuzu-943662dc3c59537d7c3e05b98cfc08212491ac87.zip
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/service/am/applets/applets.cpp4
-rw-r--r--src/core/hle/service/am/applets/applets.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/src/core/hle/service/am/applets/applets.cpp b/src/core/hle/service/am/applets/applets.cpp
index d2e35362f..720fe766f 100644
--- a/src/core/hle/service/am/applets/applets.cpp
+++ b/src/core/hle/service/am/applets/applets.cpp
@@ -157,6 +157,10 @@ AppletManager::AppletManager(Core::System& system_) : system{system_} {}
AppletManager::~AppletManager() = default;
+const AppletFrontendSet& AppletManager::GetAppletFrontendSet() const {
+ return frontend;
+}
+
void AppletManager::SetAppletFrontendSet(AppletFrontendSet set) {
if (set.parental_controls != nullptr)
frontend.parental_controls = std::move(set.parental_controls);
diff --git a/src/core/hle/service/am/applets/applets.h b/src/core/hle/service/am/applets/applets.h
index 764c3418c..226be88b1 100644
--- a/src/core/hle/service/am/applets/applets.h
+++ b/src/core/hle/service/am/applets/applets.h
@@ -190,6 +190,8 @@ public:
explicit AppletManager(Core::System& system_);
~AppletManager();
+ const AppletFrontendSet& GetAppletFrontendSet() const;
+
void SetAppletFrontendSet(AppletFrontendSet set);
void SetDefaultAppletFrontendSet();
void SetDefaultAppletsIfMissing();