core: hle: kernel: k_process: Change Status -> State.
This commit is contained in:
parent
113a5ed68f
commit
25dcaf1eca
3 changed files with 27 additions and 37 deletions
|
@ -1888,7 +1888,7 @@ static void ExitProcess(Core::System& system) {
|
|||
auto* current_process = system.Kernel().CurrentProcess();
|
||||
|
||||
LOG_INFO(Kernel_SVC, "Process {} exiting", current_process->GetProcessID());
|
||||
ASSERT_MSG(current_process->GetStatus() == ProcessStatus::Running,
|
||||
ASSERT_MSG(current_process->GetState() == KProcess::State::Running,
|
||||
"Process has already exited");
|
||||
|
||||
system.Exit();
|
||||
|
@ -2557,7 +2557,7 @@ static Result GetProcessInfo(Core::System& system, u64* out, Handle process_hand
|
|||
return ResultInvalidEnumValue;
|
||||
}
|
||||
|
||||
*out = static_cast<u64>(process->GetStatus());
|
||||
*out = static_cast<u64>(process->GetState());
|
||||
return ResultSuccess;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue