diff options
| author | Lioncash <mathew1800@gmail.com> | 2016-12-07 17:11:39 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2016-12-07 17:13:46 -0500 |
| commit | f1709b8b5986af28546877be4c162884118ca161 (patch) | |
| tree | 5b4d2b287ea2dbda6e31a9bf3e8ef9bd010a9d50 /src/core/hle/applets/mii_selector.h | |
| parent | 6f71fb2954011c53dbfe1173eea83638c6c8f610 (diff) | |
applet: Move common IsRunning underlying variable to the Applet class
Gets rid of basic duplication.
Diffstat (limited to 'src/core/hle/applets/mii_selector.h')
| -rw-r--r-- | src/core/hle/applets/mii_selector.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/core/hle/applets/mii_selector.h b/src/core/hle/applets/mii_selector.h index e3ab9f0cd..ec00e29d2 100644 --- a/src/core/hle/applets/mii_selector.h +++ b/src/core/hle/applets/mii_selector.h @@ -65,23 +65,18 @@ ASSERT_REG_POSITION(unk_6C, 0x6C); class MiiSelector final : public Applet { public: - MiiSelector(Service::APT::AppletId id) : Applet(id), started(false) {} + MiiSelector(Service::APT::AppletId id) : Applet(id) {} ResultCode ReceiveParameter(const Service::APT::MessageParameter& parameter) override; ResultCode StartImpl(const Service::APT::AppletStartupParameter& parameter) override; void Update() override; - bool IsRunning() const override { - return started; - } +private: /// This SharedMemory will be created when we receive the LibAppJustStarted message. /// It holds the framebuffer info retrieved by the application with /// GSPGPU::ImportDisplayCaptureInfo Kernel::SharedPtr<Kernel::SharedMemory> framebuffer_memory; - /// Whether this applet is currently running instead of the host application or not. - bool started; - MiiConfig config; }; } |
