diff options
author | bunnei <bunneidev@gmail.com> | 2020-11-15 07:37:45 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2020-11-29 10:31:52 +0100 |
commit | c2ad1243baaf25dcb6f9c80121c48ff6da1986cb (patch) | |
tree | f0c11f5fb9ba8cf795ee20a763274fe1bf0a1832 /src/core/hle/kernel/thread.cpp | |
parent | core: arm: Implement InvalidateCacheRange for CPU cache invalidation. (diff) | |
download | yuzu-c2ad1243baaf25dcb6f9c80121c48ff6da1986cb.tar yuzu-c2ad1243baaf25dcb6f9c80121c48ff6da1986cb.tar.gz yuzu-c2ad1243baaf25dcb6f9c80121c48ff6da1986cb.tar.bz2 yuzu-c2ad1243baaf25dcb6f9c80121c48ff6da1986cb.tar.lz yuzu-c2ad1243baaf25dcb6f9c80121c48ff6da1986cb.tar.xz yuzu-c2ad1243baaf25dcb6f9c80121c48ff6da1986cb.tar.zst yuzu-c2ad1243baaf25dcb6f9c80121c48ff6da1986cb.zip |
Diffstat (limited to 'src/core/hle/kernel/thread.cpp')
-rw-r--r-- | src/core/hle/kernel/thread.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp index 3abe12810..7d1eb2c6e 100644 --- a/src/core/hle/kernel/thread.cpp +++ b/src/core/hle/kernel/thread.cpp @@ -88,10 +88,6 @@ void Thread::ResumeFromWait() { // before actually resuming. We can ignore subsequent wakeups if the thread status has // already been set to ThreadStatus::Ready. return; - - case ThreadStatus::Running: - DEBUG_ASSERT_MSG(false, "Thread with object id {} has already resumed.", GetObjectId()); - return; case ThreadStatus::Dead: // This should never happen, as threads must complete before being stopped. DEBUG_ASSERT_MSG(false, "Thread with object id {} cannot be resumed because it's DEAD.", @@ -260,7 +256,6 @@ void Thread::SetStatus(ThreadStatus new_status) { switch (new_status) { case ThreadStatus::Ready: - case ThreadStatus::Running: SetSchedulingStatus(ThreadSchedStatus::Runnable); break; case ThreadStatus::Dormant: |