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/mii_selector.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/hle/applets/mii_selector.cpp') diff --git a/src/core/hle/applets/mii_selector.cpp b/src/core/hle/applets/mii_selector.cpp index 3455b9201..07c7f5b99 100644 --- a/src/core/hle/applets/mii_selector.cpp +++ b/src/core/hle/applets/mii_selector.cpp @@ -55,7 +55,7 @@ ResultCode MiiSelector::ReceiveParameter(const Service::APT::MessageParameter& p } ResultCode MiiSelector::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. @@ -78,7 +78,7 @@ ResultCode MiiSelector::StartImpl(const Service::APT::AppletStartupParameter& pa message.sender_id = static_cast(id); Service::APT::SendParameter(message); - started = false; + is_running = false; return RESULT_SUCCESS; } -- cgit v1.2.3