diff options
Diffstat (limited to 'src/core/hle/kernel/kernel.cpp')
| -rw-r--r-- | src/core/hle/kernel/kernel.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/kernel/kernel.cpp b/src/core/hle/kernel/kernel.cpp index 288488644..cf155ff66 100644 --- a/src/core/hle/kernel/kernel.cpp +++ b/src/core/hle/kernel/kernel.cpp | |||
| @@ -1055,6 +1055,9 @@ void KernelCore::Suspend(bool in_suspention) { | |||
| 1055 | impl->suspend_threads[core_id]->SetState(state); | 1055 | impl->suspend_threads[core_id]->SetState(state); |
| 1056 | impl->suspend_threads[core_id]->SetWaitReasonForDebugging( | 1056 | impl->suspend_threads[core_id]->SetWaitReasonForDebugging( |
| 1057 | ThreadWaitReasonForDebugging::Suspended); | 1057 | ThreadWaitReasonForDebugging::Suspended); |
| 1058 | if (!should_suspend) { | ||
| 1059 | impl->suspend_threads[core_id]->DisableDispatch(); | ||
| 1060 | } | ||
| 1058 | } | 1061 | } |
| 1059 | } | 1062 | } |
| 1060 | } | 1063 | } |