diff options
author | Lioncash <mathew1800@gmail.com> | 2018-07-20 03:39:05 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-07-20 04:08:56 +0200 |
commit | dbfe82773d98fadac481cd9061f5eda98aebf308 (patch) | |
tree | ee1c5f480bcbf95339eff8677f061bbb57d8ee95 /src/core/hle/kernel/server_session.cpp | |
parent | Merge pull request #726 from lioncash/overload (diff) | |
download | yuzu-dbfe82773d98fadac481cd9061f5eda98aebf308.tar yuzu-dbfe82773d98fadac481cd9061f5eda98aebf308.tar.gz yuzu-dbfe82773d98fadac481cd9061f5eda98aebf308.tar.bz2 yuzu-dbfe82773d98fadac481cd9061f5eda98aebf308.tar.lz yuzu-dbfe82773d98fadac481cd9061f5eda98aebf308.tar.xz yuzu-dbfe82773d98fadac481cd9061f5eda98aebf308.tar.zst yuzu-dbfe82773d98fadac481cd9061f5eda98aebf308.zip |
Diffstat (limited to 'src/core/hle/kernel/server_session.cpp')
-rw-r--r-- | src/core/hle/kernel/server_session.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/server_session.cpp b/src/core/hle/kernel/server_session.cpp index 19d17af4f..29b163528 100644 --- a/src/core/hle/kernel/server_session.cpp +++ b/src/core/hle/kernel/server_session.cpp @@ -110,10 +110,10 @@ ResultCode ServerSession::HandleSyncRequest(SharedPtr<Thread> thread) { result = hle_handler->HandleSyncRequest(context); } - if (thread->status == THREADSTATUS_RUNNING) { + if (thread->status == ThreadStatus::Running) { // Put the thread to sleep until the server replies, it will be awoken in // svcReplyAndReceive for LLE servers. - thread->status = THREADSTATUS_WAIT_IPC; + thread->status = ThreadStatus::WaitIPC; if (hle_handler != nullptr) { // For HLE services, we put the request threads to sleep for a short duration to |