mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-16 09:48:01 +00:00
applet: Move common IsRunning underlying variable to the Applet class
Gets rid of basic duplication.
This commit is contained in:
parent
748807f130
commit
7055dbf489
8 changed files with 19 additions and 28 deletions
|
@ -70,7 +70,7 @@ ResultCode SoftwareKeyboard::StartImpl(Service::APT::AppletStartupParameter cons
|
|||
|
||||
DrawScreenKeyboard();
|
||||
|
||||
started = true;
|
||||
is_running = true;
|
||||
return RESULT_SUCCESS;
|
||||
}
|
||||
|
||||
|
@ -113,7 +113,7 @@ void SoftwareKeyboard::Finalize() {
|
|||
message.sender_id = static_cast<u32>(id);
|
||||
Service::APT::SendParameter(message);
|
||||
|
||||
started = false;
|
||||
is_running = false;
|
||||
}
|
||||
}
|
||||
} // namespace
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue