diff options
| author | 2016-12-07 17:11:39 -0500 | |
|---|---|---|
| committer | 2016-12-07 17:13:46 -0500 | |
| commit | f1709b8b5986af28546877be4c162884118ca161 (patch) | |
| tree | 5b4d2b287ea2dbda6e31a9bf3e8ef9bd010a9d50 /src/core/hle/applets/erreula.cpp | |
| parent | applet: Make virtual destructor defaulted (diff) | |
| download | yuzu-f1709b8b5986af28546877be4c162884118ca161.tar.gz yuzu-f1709b8b5986af28546877be4c162884118ca161.tar.xz yuzu-f1709b8b5986af28546877be4c162884118ca161.zip | |
applet: Move common IsRunning underlying variable to the Applet class
Gets rid of basic duplication.
Diffstat (limited to 'src/core/hle/applets/erreula.cpp')
| -rw-r--r-- | src/core/hle/applets/erreula.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/applets/erreula.cpp b/src/core/hle/applets/erreula.cpp index e1379ac4d..75d7fd9fc 100644 --- a/src/core/hle/applets/erreula.cpp +++ b/src/core/hle/applets/erreula.cpp | |||
| @@ -47,7 +47,7 @@ ResultCode ErrEula::ReceiveParameter(const Service::APT::MessageParameter& param | |||
| 47 | } | 47 | } |
| 48 | 48 | ||
| 49 | ResultCode ErrEula::StartImpl(const Service::APT::AppletStartupParameter& parameter) { | 49 | ResultCode ErrEula::StartImpl(const Service::APT::AppletStartupParameter& parameter) { |
| 50 | started = true; | 50 | is_running = true; |
| 51 | 51 | ||
| 52 | // TODO(Subv): Set the expected fields in the response buffer before resending it to the | 52 | // TODO(Subv): Set the expected fields in the response buffer before resending it to the |
| 53 | // application. | 53 | // application. |
| @@ -62,7 +62,7 @@ ResultCode ErrEula::StartImpl(const Service::APT::AppletStartupParameter& parame | |||
| 62 | message.sender_id = static_cast<u32>(id); | 62 | message.sender_id = static_cast<u32>(id); |
| 63 | Service::APT::SendParameter(message); | 63 | Service::APT::SendParameter(message); |
| 64 | 64 | ||
| 65 | started = false; | 65 | is_running = false; |
| 66 | return RESULT_SUCCESS; | 66 | return RESULT_SUCCESS; |
| 67 | } | 67 | } |
| 68 | 68 | ||