summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/kernel.h
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2015-02-01 21:31:21 +0100
committerSubv <subv2112@gmail.com>2015-02-12 15:25:35 +0100
commit8e2b248e05c99c9cf505a351bc9234cedd5fa3b4 (patch)
tree05f18714a93d28999c259f4cd86c261deaf659b2 /src/core/hle/kernel/kernel.h
parentMerge pull request #384 from neobrain/vertex_shader_debugger (diff)
downloadyuzu-8e2b248e05c99c9cf505a351bc9234cedd5fa3b4.tar
yuzu-8e2b248e05c99c9cf505a351bc9234cedd5fa3b4.tar.gz
yuzu-8e2b248e05c99c9cf505a351bc9234cedd5fa3b4.tar.bz2
yuzu-8e2b248e05c99c9cf505a351bc9234cedd5fa3b4.tar.lz
yuzu-8e2b248e05c99c9cf505a351bc9234cedd5fa3b4.tar.xz
yuzu-8e2b248e05c99c9cf505a351bc9234cedd5fa3b4.tar.zst
yuzu-8e2b248e05c99c9cf505a351bc9234cedd5fa3b4.zip
Diffstat (limited to 'src/core/hle/kernel/kernel.h')
-rw-r--r--src/core/hle/kernel/kernel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h
index 4d8e388b6..2d295ea00 100644
--- a/src/core/hle/kernel/kernel.h
+++ b/src/core/hle/kernel/kernel.h
@@ -253,7 +253,7 @@ private:
*/
static const size_t MAX_COUNT = 4096;
- static size_t GetSlot(Handle handle) { return handle >> 15; }
+ static u16 GetSlot(Handle handle) { return handle >> 15; }
static u16 GetGeneration(Handle handle) { return handle & 0x7FFF; }
/// Stores the Object referenced by the handle or null if the slot is empty.