aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/am/applets/applets.cpp
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2019-04-28 18:43:10 -0400
committerZach Hilman <zachhilman@gmail.com>2019-09-30 17:20:49 -0400
commit943662dc3c59537d7c3e05b98cfc08212491ac87 (patch)
treedbfd89f653458184fdc85735d8952db3e284e4bc /src/core/hle/service/am/applets/applets.cpp
parentf2073217a4b074f53e1932eaf41cf08d6296b21f (diff)
applets: Add accessor for AppletFrontendSet
Allows other services to call applets without using LLE.
Diffstat (limited to 'src/core/hle/service/am/applets/applets.cpp')
-rw-r--r--src/core/hle/service/am/applets/applets.cpp4
1 files changed, 4 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);