diff options
| author | 2022-09-05 17:47:00 -0700 | |
|---|---|---|
| committer | 2022-10-18 19:13:34 -0700 | |
| commit | 25dcaf1ecaeb3998a2cb8b03a7aa8a02402e0bad (patch) | |
| tree | 1007ca27eaa8cb9f76c0359903d11432e17c44d8 /src/core/hle/kernel/svc.cpp | |
| parent | core: hle: kernel: svc_types: Add SystemThreadPriorityHighest and ProcessState. (diff) | |
| download | yuzu-25dcaf1ecaeb3998a2cb8b03a7aa8a02402e0bad.tar.gz yuzu-25dcaf1ecaeb3998a2cb8b03a7aa8a02402e0bad.tar.xz yuzu-25dcaf1ecaeb3998a2cb8b03a7aa8a02402e0bad.zip | |
core: hle: kernel: k_process: Change Status -> State.
Diffstat (limited to 'src/core/hle/kernel/svc.cpp')
| -rw-r--r-- | src/core/hle/kernel/svc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp index 1d145ea91..bac61fd09 100644 --- a/src/core/hle/kernel/svc.cpp +++ b/src/core/hle/kernel/svc.cpp | |||
| @@ -1888,7 +1888,7 @@ static void ExitProcess(Core::System& system) { | |||
| 1888 | auto* current_process = system.Kernel().CurrentProcess(); | 1888 | auto* current_process = system.Kernel().CurrentProcess(); |
| 1889 | 1889 | ||
| 1890 | LOG_INFO(Kernel_SVC, "Process {} exiting", current_process->GetProcessID()); | 1890 | LOG_INFO(Kernel_SVC, "Process {} exiting", current_process->GetProcessID()); |
| 1891 | ASSERT_MSG(current_process->GetStatus() == ProcessStatus::Running, | 1891 | ASSERT_MSG(current_process->GetState() == KProcess::State::Running, |
| 1892 | "Process has already exited"); | 1892 | "Process has already exited"); |
| 1893 | 1893 | ||
| 1894 | system.Exit(); | 1894 | system.Exit(); |
| @@ -2557,7 +2557,7 @@ static Result GetProcessInfo(Core::System& system, u64* out, Handle process_hand | |||
| 2557 | return ResultInvalidEnumValue; | 2557 | return ResultInvalidEnumValue; |
| 2558 | } | 2558 | } |
| 2559 | 2559 | ||
| 2560 | *out = static_cast<u64>(process->GetStatus()); | 2560 | *out = static_cast<u64>(process->GetState()); |
| 2561 | return ResultSuccess; | 2561 | return ResultSuccess; |
| 2562 | } | 2562 | } |
| 2563 | 2563 | ||