summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/kernel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/kernel/kernel.cpp')
-rw-r--r--src/core/hle/kernel/kernel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/kernel.cpp b/src/core/hle/kernel/kernel.cpp
index af4a5e33d..8d03f16fb 100644
--- a/src/core/hle/kernel/kernel.cpp
+++ b/src/core/hle/kernel/kernel.cpp
@@ -602,9 +602,9 @@ void KernelCore::Suspend(bool in_suspention) {
602 const bool should_suspend = exception_exited || in_suspention; 602 const bool should_suspend = exception_exited || in_suspention;
603 { 603 {
604 KScopedSchedulerLock lock(*this); 604 KScopedSchedulerLock lock(*this);
605 const auto status = should_suspend ? ThreadState::Runnable : ThreadState::Waiting; 605 const auto state = should_suspend ? ThreadState::Runnable : ThreadState::Waiting;
606 for (std::size_t i = 0; i < Core::Hardware::NUM_CPU_CORES; i++) { 606 for (std::size_t i = 0; i < Core::Hardware::NUM_CPU_CORES; i++) {
607 impl->suspend_threads[i]->SetState(status); 607 impl->suspend_threads[i]->SetState(state);
608 } 608 }
609 } 609 }
610} 610}