mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-23 03:06:52 -04:00
strat: use m_ for member variables
This commit is contained in:
parent
ce28591ab2
commit
a595c232b9
425 changed files with 8531 additions and 8484 deletions
|
@ -122,20 +122,20 @@ namespace ams::sm::impl {
|
|||
|
||||
class InitialProcessIdLimits {
|
||||
private:
|
||||
os::ProcessId min;
|
||||
os::ProcessId max;
|
||||
os::ProcessId m_min;
|
||||
os::ProcessId m_max;
|
||||
public:
|
||||
InitialProcessIdLimits() {
|
||||
/* Retrieve process limits. */
|
||||
cfg::GetInitialProcessRange(std::addressof(this->min), std::addressof(this->max));
|
||||
cfg::GetInitialProcessRange(std::addressof(m_min), std::addressof(m_max));
|
||||
|
||||
/* Ensure range is sane. */
|
||||
AMS_ABORT_UNLESS(this->min <= this->max);
|
||||
AMS_ABORT_UNLESS(m_min <= m_max);
|
||||
}
|
||||
|
||||
bool IsInitialProcess(os::ProcessId process_id) const {
|
||||
AMS_ABORT_UNLESS(process_id != os::InvalidProcessId);
|
||||
return this->min <= process_id && process_id <= this->max;
|
||||
return m_min <= process_id && process_id <= m_max;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue