summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-04-01 23:59:43 +0200
committerLioncash <mathew1800@gmail.com>2019-04-01 23:59:45 +0200
commit2d70c30fb2628b4cc3a23b6fda34c2211085b905 (patch)
treef949f512154d4e282fc28deb03cd8df8b1ac738f /src/core/hle
parentkernel/thread: Make parameter of GetWaitObjectIndex() const qualified (diff)
downloadyuzu-2d70c30fb2628b4cc3a23b6fda34c2211085b905.tar
yuzu-2d70c30fb2628b4cc3a23b6fda34c2211085b905.tar.gz
yuzu-2d70c30fb2628b4cc3a23b6fda34c2211085b905.tar.bz2
yuzu-2d70c30fb2628b4cc3a23b6fda34c2211085b905.tar.lz
yuzu-2d70c30fb2628b4cc3a23b6fda34c2211085b905.tar.xz
yuzu-2d70c30fb2628b4cc3a23b6fda34c2211085b905.tar.zst
yuzu-2d70c30fb2628b4cc3a23b6fda34c2211085b905.zip
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/kernel/thread.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp
index 937b41767..332f96287 100644
--- a/src/core/hle/kernel/thread.cpp
+++ b/src/core/hle/kernel/thread.cpp
@@ -237,8 +237,8 @@ s32 Thread::GetWaitObjectIndex(const WaitObject* object) const {
VAddr Thread::GetCommandBufferAddress() const {
// Offset from the start of TLS at which the IPC command buffer begins.
- static constexpr int CommandHeaderOffset = 0x80;
- return GetTLSAddress() + CommandHeaderOffset;
+ constexpr u64 command_header_offset = 0x80;
+ return GetTLSAddress() + command_header_offset;
}
void Thread::SetStatus(ThreadStatus new_status) {