diff options
author | bunnei <bunneidev@gmail.com> | 2021-12-09 09:29:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-09 09:29:09 +0100 |
commit | 46366c6dcaa47fe7bccb021c90b77d0d8be23b6f (patch) | |
tree | 3267f43c67c15e88524cb9d6106726eb8e89ea9d /src/core/hle/kernel/k_class_token.cpp | |
parent | Merge pull request #7545 from Morph1984/qt-deprecated-warn (diff) | |
parent | Update k_code_memory.h (diff) | |
download | yuzu-46366c6dcaa47fe7bccb021c90b77d0d8be23b6f.tar yuzu-46366c6dcaa47fe7bccb021c90b77d0d8be23b6f.tar.gz yuzu-46366c6dcaa47fe7bccb021c90b77d0d8be23b6f.tar.bz2 yuzu-46366c6dcaa47fe7bccb021c90b77d0d8be23b6f.tar.lz yuzu-46366c6dcaa47fe7bccb021c90b77d0d8be23b6f.tar.xz yuzu-46366c6dcaa47fe7bccb021c90b77d0d8be23b6f.tar.zst yuzu-46366c6dcaa47fe7bccb021c90b77d0d8be23b6f.zip |
Diffstat (limited to 'src/core/hle/kernel/k_class_token.cpp')
-rw-r--r-- | src/core/hle/kernel/k_class_token.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/hle/kernel/k_class_token.cpp b/src/core/hle/kernel/k_class_token.cpp index 0be0027be..21e2fe494 100644 --- a/src/core/hle/kernel/k_class_token.cpp +++ b/src/core/hle/kernel/k_class_token.cpp @@ -6,6 +6,7 @@ #include "core/hle/kernel/k_class_token.h" #include "core/hle/kernel/k_client_port.h" #include "core/hle/kernel/k_client_session.h" +#include "core/hle/kernel/k_code_memory.h" #include "core/hle/kernel/k_event.h" #include "core/hle/kernel/k_port.h" #include "core/hle/kernel/k_process.h" @@ -48,7 +49,7 @@ static_assert(ClassToken<KWritableEvent> == 0b10001001'00000000); static_assert(ClassToken<KTransferMemory> == 0b10010001'00000000); // static_assert(ClassToken<KDeviceAddressSpace> == 0b01100001'00000000); // static_assert(ClassToken<KSessionRequest> == 0b10100001'00000000); -// static_assert(ClassToken<KCodeMemory> == 0b11000001'00000000); +static_assert(ClassToken<KCodeMemory> == 0b11000001'00000000); // Ensure that the token hierarchy is correct. @@ -79,7 +80,7 @@ static_assert(ClassToken<KWritableEvent> == ((0b10001001 << 8) | ClassToken<KAut static_assert(ClassToken<KTransferMemory> == ((0b10010001 << 8) | ClassToken<KAutoObject>)); // static_assert(ClassToken<KDeviceAddressSpace> == ((0b01100001 << 8) | ClassToken<KAutoObject>)); // static_assert(ClassToken<KSessionRequest> == ((0b10100001 << 8) | ClassToken<KAutoObject>)); -// static_assert(ClassToken<KCodeMemory> == ((0b11000001 << 8) | ClassToken<KAutoObject>)); +static_assert(ClassToken<KCodeMemory> == ((0b11000001 << 8) | ClassToken<KAutoObject>)); // Ensure that the token hierarchy reflects the class hierarchy. |