summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/process.h
diff options
context:
space:
mode:
authorGravatar Lioncash2019-04-01 18:19:42 -0400
committerGravatar Lioncash2019-04-01 18:19:45 -0400
commit20cc0b8d3cd46dfc8eed7689f93b6d41f320c709 (patch)
treeb1f78f8b7a5364d9fb17498eb469b414160827d8 /src/core/hle/kernel/process.h
parentkernel/thread: Avoid sign conversion within GetCommandBufferAddress() (diff)
downloadyuzu-20cc0b8d3cd46dfc8eed7689f93b6d41f320c709.tar.gz
yuzu-20cc0b8d3cd46dfc8eed7689f93b6d41f320c709.tar.xz
yuzu-20cc0b8d3cd46dfc8eed7689f93b6d41f320c709.zip
kernel/wait_object: Make ShouldWait() take thread members by pointer-to-const
Given this is intended as a querying function, it doesn't make sense to allow the implementer to modify the state of the given thread.
Diffstat (limited to 'src/core/hle/kernel/process.h')
-rw-r--r--src/core/hle/kernel/process.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/process.h b/src/core/hle/kernel/process.h
index 732d12170..23f898b0c 100644
--- a/src/core/hle/kernel/process.h
+++ b/src/core/hle/kernel/process.h
@@ -237,7 +237,7 @@ private:
237 ~Process() override; 237 ~Process() override;
238 238
239 /// Checks if the specified thread should wait until this process is available. 239 /// Checks if the specified thread should wait until this process is available.
240 bool ShouldWait(Thread* thread) const override; 240 bool ShouldWait(const Thread* thread) const override;
241 241
242 /// Acquires/locks this process for the specified thread if it's available. 242 /// Acquires/locks this process for the specified thread if it's available.
243 void Acquire(Thread* thread) override; 243 void Acquire(Thread* thread) override;