mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-12 11:27:57 -05:00
core: hle: kernel: k_process: Change Status -> State.
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user