Răsfoiți Sursa

hle: kernel: Rename thread "status" to "state".

bunnei 5 ani în urmă
părinte
comite
d1309fb275
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      src/core/hle/kernel/kernel.cpp

+ 2 - 2
src/core/hle/kernel/kernel.cpp

@@ -602,9 +602,9 @@ void KernelCore::Suspend(bool in_suspention) {
     const bool should_suspend = exception_exited || in_suspention;
     {
         KScopedSchedulerLock lock(*this);
-        const auto status = should_suspend ? ThreadState::Runnable : ThreadState::Waiting;
+        const auto state = should_suspend ? ThreadState::Runnable : ThreadState::Waiting;
         for (std::size_t i = 0; i < Core::Hardware::NUM_CPU_CORES; i++) {
-            impl->suspend_threads[i]->SetState(status);
+            impl->suspend_threads[i]->SetState(state);
         }
     }
 }