summaryrefslogtreecommitdiff
path: root/src/core/hle/applets/applet.cpp
diff options
context:
space:
mode:
authorGravatar Yuri Kunde Schlesner2016-12-07 22:36:40 -0800
committerGravatar GitHub2016-12-07 22:36:40 -0800
commitbc48e2bda6012b578748608e093d4f9e25b191cd (patch)
tree7ab11cf2244d87e8a05c9a316573b910b3054d7c /src/core/hle/applets/applet.cpp
parentMerge pull request #2282 from lioncash/svc (diff)
parentapplet: Move common IsRunning underlying variable to the Applet class (diff)
downloadyuzu-bc48e2bda6012b578748608e093d4f9e25b191cd.tar.gz
yuzu-bc48e2bda6012b578748608e093d4f9e25b191cd.tar.xz
yuzu-bc48e2bda6012b578748608e093d4f9e25b191cd.zip
Merge pull request #2281 from lioncash/applet
applet: minor interface changes
Diffstat (limited to 'src/core/hle/applets/applet.cpp')
-rw-r--r--src/core/hle/applets/applet.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/hle/applets/applet.cpp b/src/core/hle/applets/applet.cpp
index 4311d9897..645b2d5fe 100644
--- a/src/core/hle/applets/applet.cpp
+++ b/src/core/hle/applets/applet.cpp
@@ -101,6 +101,10 @@ ResultCode Applet::Start(const Service::APT::AppletStartupParameter& parameter)
101 return result; 101 return result;
102} 102}
103 103
104bool Applet::IsRunning() const {
105 return is_running;
106}
107
104bool IsLibraryAppletRunning() { 108bool IsLibraryAppletRunning() {
105 // Check the applets map for instances of any applet 109 // Check the applets map for instances of any applet
106 for (auto itr = applets.begin(); itr != applets.end(); ++itr) 110 for (auto itr = applets.begin(); itr != applets.end(); ++itr)