diff options
author | Lioncash <mathew1800@gmail.com> | 2016-12-07 23:11:39 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2016-12-07 23:13:46 +0100 |
commit | f1709b8b5986af28546877be4c162884118ca161 (patch) | |
tree | 5b4d2b287ea2dbda6e31a9bf3e8ef9bd010a9d50 /src/core/hle/applets/applet.h | |
parent | applet: Make virtual destructor defaulted (diff) | |
download | yuzu-f1709b8b5986af28546877be4c162884118ca161.tar yuzu-f1709b8b5986af28546877be4c162884118ca161.tar.gz yuzu-f1709b8b5986af28546877be4c162884118ca161.tar.bz2 yuzu-f1709b8b5986af28546877be4c162884118ca161.tar.lz yuzu-f1709b8b5986af28546877be4c162884118ca161.tar.xz yuzu-f1709b8b5986af28546877be4c162884118ca161.tar.zst yuzu-f1709b8b5986af28546877be4c162884118ca161.zip |
Diffstat (limited to 'src/core/hle/applets/applet.h')
-rw-r--r-- | src/core/hle/applets/applet.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/hle/applets/applet.h b/src/core/hle/applets/applet.h index 583ddbe10..ebeed9813 100644 --- a/src/core/hle/applets/applet.h +++ b/src/core/hle/applets/applet.h @@ -47,7 +47,7 @@ public: /** * Whether the applet is currently executing instead of the host application or not. */ - virtual bool IsRunning() const = 0; + bool IsRunning() const; /** * Handles an update tick for the Applet, lets it update the screen, send commands, etc. @@ -66,6 +66,9 @@ protected: Service::APT::AppletId id; ///< Id of this Applet std::shared_ptr<std::vector<u8>> heap_memory; ///< Heap memory for this Applet + + /// Whether this applet is currently running instead of the host application or not. + bool is_running = false; }; /// Returns whether a library applet is currently running |