mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-20 09:55:07 -04:00
stratosphere: fix building with latest libnx
This commit is contained in:
parent
87ec045a98
commit
7fc1e86bf5
12 changed files with 109 additions and 110 deletions
|
@ -43,7 +43,7 @@ namespace ams::pm::impl {
|
|||
const ncm::ProgramLocation loc;
|
||||
const cfg::OverrideStatus status;
|
||||
Handle handle;
|
||||
ProcessState state;
|
||||
svc::ProcessState state;
|
||||
u32 flags;
|
||||
os::WaitableHolder waitable_holder;
|
||||
private:
|
||||
|
@ -87,20 +87,20 @@ namespace ams::pm::impl {
|
|||
return this->status;
|
||||
}
|
||||
|
||||
ProcessState GetState() const {
|
||||
svc::ProcessState GetState() const {
|
||||
return this->state;
|
||||
}
|
||||
|
||||
void SetState(ProcessState state) {
|
||||
void SetState(svc::ProcessState state) {
|
||||
this->state = state;
|
||||
}
|
||||
|
||||
bool HasStarted() const {
|
||||
return this->state != ProcessState_Created && this->state != ProcessState_CreatedAttached;
|
||||
return this->state != svc::ProcessState_Created && this->state != svc::ProcessState_CreatedAttached;
|
||||
}
|
||||
|
||||
bool HasExited() const {
|
||||
return this->state == ProcessState_Exited;
|
||||
bool HasTerminated() const {
|
||||
return this->state == svc::ProcessState_Terminated;
|
||||
}
|
||||
|
||||
#define DEFINE_FLAG_SET(flag) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue