mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-20 09:55:07 -04:00
kern: refactor to use m_ for member variables
This commit is contained in:
parent
0bf2ade76f
commit
968f50bc07
135 changed files with 3727 additions and 3734 deletions
|
@ -21,13 +21,13 @@ namespace ams::kern {
|
|||
MESOSPHERE_ASSERT_THIS();
|
||||
MESOSPHERE_ASSERT(KScheduler::IsSchedulerLockedByCurrentThread());
|
||||
|
||||
return this->is_signaled;
|
||||
return m_is_signaled;
|
||||
}
|
||||
|
||||
void KReadableEvent::Destroy() {
|
||||
MESOSPHERE_ASSERT_THIS();
|
||||
if (this->parent_event) {
|
||||
this->parent_event->Close();
|
||||
if (m_parent) {
|
||||
m_parent->Close();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -36,8 +36,8 @@ namespace ams::kern {
|
|||
|
||||
KScopedSchedulerLock lk;
|
||||
|
||||
if (!this->is_signaled) {
|
||||
this->is_signaled = true;
|
||||
if (!m_is_signaled) {
|
||||
m_is_signaled = true;
|
||||
this->NotifyAvailable();
|
||||
}
|
||||
|
||||
|
@ -57,9 +57,9 @@ namespace ams::kern {
|
|||
|
||||
KScopedSchedulerLock lk;
|
||||
|
||||
R_UNLESS(this->is_signaled, svc::ResultInvalidState());
|
||||
R_UNLESS(m_is_signaled, svc::ResultInvalidState());
|
||||
|
||||
this->is_signaled = false;
|
||||
m_is_signaled = false;
|
||||
return ResultSuccess();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue