summaryrefslogtreecommitdiff
path: root/src/core/hle/applets/swkbd.cpp
diff options
context:
space:
mode:
authorGravatar Lioncash2016-12-07 17:11:39 -0500
committerGravatar Lioncash2016-12-07 17:13:46 -0500
commitf1709b8b5986af28546877be4c162884118ca161 (patch)
tree5b4d2b287ea2dbda6e31a9bf3e8ef9bd010a9d50 /src/core/hle/applets/swkbd.cpp
parentapplet: Make virtual destructor defaulted (diff)
downloadyuzu-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/swkbd.cpp')
-rw-r--r--src/core/hle/applets/swkbd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/applets/swkbd.cpp b/src/core/hle/applets/swkbd.cpp
index 1e21337f5..edd30d7ef 100644
--- a/src/core/hle/applets/swkbd.cpp
+++ b/src/core/hle/applets/swkbd.cpp
@@ -70,7 +70,7 @@ ResultCode SoftwareKeyboard::StartImpl(Service::APT::AppletStartupParameter cons
70 70
71 DrawScreenKeyboard(); 71 DrawScreenKeyboard();
72 72
73 started = true; 73 is_running = true;
74 return RESULT_SUCCESS; 74 return RESULT_SUCCESS;
75} 75}
76 76
@@ -113,7 +113,7 @@ void SoftwareKeyboard::Finalize() {
113 message.sender_id = static_cast<u32>(id); 113 message.sender_id = static_cast<u32>(id);
114 Service::APT::SendParameter(message); 114 Service::APT::SendParameter(message);
115 115
116 started = false; 116 is_running = false;
117} 117}
118} 118}
119} // namespace 119} // namespace