summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/kernel.h
diff options
context:
space:
mode:
authorGravatar bunnei2015-02-14 15:50:26 -0500
committerGravatar bunnei2015-02-14 15:50:26 -0500
commit12181c8a64678e73281e893b6ba108d5a125c1aa (patch)
tree831883189eb5c846b619c20e22e1015c5c140c63 /src/core/hle/kernel/kernel.h
parentMerge pull request #572 from lioncash/prototypes (diff)
parentBuild: Fixed some warnings (diff)
downloadyuzu-12181c8a64678e73281e893b6ba108d5a125c1aa.tar.gz
yuzu-12181c8a64678e73281e893b6ba108d5a125c1aa.tar.xz
yuzu-12181c8a64678e73281e893b6ba108d5a125c1aa.zip
Merge pull request #529 from Subv/master
Build: Fixed some warnings
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:
253 */ 253 */
254 static const size_t MAX_COUNT = 4096; 254 static const size_t MAX_COUNT = 4096;
255 255
256 static size_t GetSlot(Handle handle) { return handle >> 15; } 256 static u16 GetSlot(Handle handle) { return handle >> 15; }
257 static u16 GetGeneration(Handle handle) { return handle & 0x7FFF; } 257 static u16 GetGeneration(Handle handle) { return handle & 0x7FFF; }
258 258
259 /// Stores the Object referenced by the handle or null if the slot is empty. 259 /// Stores the Object referenced by the handle or null if the slot is empty.