diff options
| author | 2020-02-25 16:38:33 -0400 | |
|---|---|---|
| committer | 2020-06-27 11:35:13 -0400 | |
| commit | 3b5b950c895a2db217a3e5c8105cec4498a2534e (patch) | |
| tree | 2a8e054af30c9aa8039f8faa4b993e2290642184 /src/core/hle/kernel/process.cpp | |
| parent | SVC: Remove global HLE Lock. (diff) | |
| download | yuzu-3b5b950c895a2db217a3e5c8105cec4498a2534e.tar.gz yuzu-3b5b950c895a2db217a3e5c8105cec4498a2534e.tar.xz yuzu-3b5b950c895a2db217a3e5c8105cec4498a2534e.zip | |
SVC: Correct SignalEvent, ClearEvent, ResetSignal, WaitSynchronization, CancelSynchronization, ArbitrateLock
Diffstat (limited to 'src/core/hle/kernel/process.cpp')
| -rw-r--r-- | src/core/hle/kernel/process.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hle/kernel/process.cpp b/src/core/hle/kernel/process.cpp index 7e26a54f4..cd4b0aa60 100644 --- a/src/core/hle/kernel/process.cpp +++ b/src/core/hle/kernel/process.cpp | |||
| @@ -212,6 +212,7 @@ void Process::UnregisterThread(const Thread* thread) { | |||
| 212 | } | 212 | } |
| 213 | 213 | ||
| 214 | ResultCode Process::ClearSignalState() { | 214 | ResultCode Process::ClearSignalState() { |
| 215 | SchedulerLock lock(system.Kernel()); | ||
| 215 | if (status == ProcessStatus::Exited) { | 216 | if (status == ProcessStatus::Exited) { |
| 216 | LOG_ERROR(Kernel, "called on a terminated process instance."); | 217 | LOG_ERROR(Kernel, "called on a terminated process instance."); |
| 217 | return ERR_INVALID_STATE; | 218 | return ERR_INVALID_STATE; |