summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-05-02 07:07:29 +0200
committerbunnei <bunneidev@gmail.com>2021-05-06 01:40:54 +0200
commit1e983b19df056183cbc729132704e0101ea8a86e (patch)
treeaa7f9560e65bc38f26866fe75071a417a246f4f1 /src/core/hle
parentfixup! hle: kernel: Migrate more of KThread to KAutoObject. (diff)
downloadyuzu-1e983b19df056183cbc729132704e0101ea8a86e.tar
yuzu-1e983b19df056183cbc729132704e0101ea8a86e.tar.gz
yuzu-1e983b19df056183cbc729132704e0101ea8a86e.tar.bz2
yuzu-1e983b19df056183cbc729132704e0101ea8a86e.tar.lz
yuzu-1e983b19df056183cbc729132704e0101ea8a86e.tar.xz
yuzu-1e983b19df056183cbc729132704e0101ea8a86e.tar.zst
yuzu-1e983b19df056183cbc729132704e0101ea8a86e.zip
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/kernel/k_handle_table.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/kernel/k_handle_table.h b/src/core/hle/kernel/k_handle_table.h
index 8a08bdbdc..ba9dd061d 100644
--- a/src/core/hle/kernel/k_handle_table.h
+++ b/src/core/hle/kernel/k_handle_table.h
@@ -257,6 +257,9 @@ private:
private:
union HandlePack {
+ HandlePack() = default;
+ HandlePack(Handle handle) : raw{static_cast<u32>(handle)} {}
+
u32 raw;
BitField<0, 15, u32> index;
BitField<15, 15, u32> linear_id;