From f1709b8b5986af28546877be4c162884118ca161 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 7 Dec 2016 17:11:39 -0500 Subject: applet: Move common IsRunning underlying variable to the Applet class Gets rid of basic duplication. --- src/core/hle/applets/erreula.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/hle/applets/erreula.cpp') 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 } ResultCode ErrEula::StartImpl(const Service::APT::AppletStartupParameter& parameter) { - started = true; + is_running = true; // TODO(Subv): Set the expected fields in the response buffer before resending it to the // application. @@ -62,7 +62,7 @@ ResultCode ErrEula::StartImpl(const Service::APT::AppletStartupParameter& parame message.sender_id = static_cast(id); Service::APT::SendParameter(message); - started = false; + is_running = false; return RESULT_SUCCESS; } -- cgit v1.2.3