diff options
| author | 2016-12-07 22:36:40 -0800 | |
|---|---|---|
| committer | 2016-12-07 22:36:40 -0800 | |
| commit | bc48e2bda6012b578748608e093d4f9e25b191cd (patch) | |
| tree | 7ab11cf2244d87e8a05c9a316573b910b3054d7c /src/core/hle/applets/applet.cpp | |
| parent | Merge pull request #2282 from lioncash/svc (diff) | |
| parent | applet: Move common IsRunning underlying variable to the Applet class (diff) | |
| download | yuzu-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.cpp | 4 |
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 | ||
| 104 | bool Applet::IsRunning() const { | ||
| 105 | return is_running; | ||
| 106 | } | ||
| 107 | |||
| 104 | bool IsLibraryAppletRunning() { | 108 | bool 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) |