summaryrefslogtreecommitdiffstats
path: root/src/core/hle/applets/applet.cpp
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2016-12-08 07:36:40 +0100
committerGitHub <noreply@github.com>2016-12-08 07:36:40 +0100
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
yuzu-bc48e2bda6012b578748608e093d4f9e25b191cd.tar.gz
yuzu-bc48e2bda6012b578748608e093d4f9e25b191cd.tar.bz2
yuzu-bc48e2bda6012b578748608e093d4f9e25b191cd.tar.lz
yuzu-bc48e2bda6012b578748608e093d4f9e25b191cd.tar.xz
yuzu-bc48e2bda6012b578748608e093d4f9e25b191cd.tar.zst
yuzu-bc48e2bda6012b578748608e093d4f9e25b191cd.zip
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)
return result;
}
+bool Applet::IsRunning() const {
+ return is_running;
+}
+
bool IsLibraryAppletRunning() {
// Check the applets map for instances of any applet
for (auto itr = applets.begin(); itr != applets.end(); ++itr)